diff options
author | Neil Brown <neilb@suse.de> | 2002-04-06 00:00:28 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2002-04-06 00:00:28 +0200 |
commit | c913b90e6dba02613fe24d3e7f0b3f251a01bc50 (patch) | |
tree | 6cae4520d50adc36d528410baedc3ad6a9993069 /Manage.c | |
parent | mdadm-0.8 (diff) | |
download | mdadm-c913b90e6dba02613fe24d3e7f0b3f251a01bc50.tar.xz mdadm-c913b90e6dba02613fe24d3e7f0b3f251a01bc50.zip |
mdadm-0.8.1mdadm-0.8.1
Diffstat (limited to 'Manage.c')
-rw-r--r-- | Manage.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -129,7 +129,7 @@ int Manage_subdevs(char *devname, int fd, mdu_disk_info_t disc; mddev_dev_t dv; struct stat stb; - int i,j; + int j; int save_errno; static char buf[4096]; @@ -151,8 +151,8 @@ int Manage_subdevs(char *devname, int fd, } switch(dv->disposition){ default: - fprintf(stderr, Name ": internal error - devmode[%d]=%d\n", - i, dv->disposition); + fprintf(stderr, Name ": internal error - devmode[%s]=%d\n", + dv->devname, dv->disposition); return 1; case 'a': /* add the device - hot or cold */ |