patch-2.2.19 linux/arch/s390/tools/dasdfmt/dasdfmt.c
Next file: linux/arch/sparc/config.in
Previous file: linux/arch/s390/mm/init.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Sun Mar 25 11:37:30 2001
- Orig file:
v2.2.18/arch/s390/tools/dasdfmt/dasdfmt.c
- Orig date:
Sun Mar 25 11:28:19 2001
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/arch/s390/tools/dasdfmt/dasdfmt.c linux/arch/s390/tools/dasdfmt/dasdfmt.c
@@ -201,7 +201,7 @@
/* fgets(line,sizeof(line),file); omit first line */
while (fgets(line,sizeof(line),file)!=NULL) {
- rc=sscanf(line,"%X %*[(A-Z)] at (%d:%d)",&d,&ma_i,&mi_i);
+ rc=sscanf(line,"%X %*[(A-Z) ] at (%d:%d)",&d,&ma_i,&mi_i);
ma=ma_i;
mi=mi_i;
if ( (rc==3) &&
@@ -219,7 +219,8 @@
fclose(file);
ERRMSG_EXIT(EXIT_FAILURE,"%s: failed to find device in the /proc " \
- "filesystem (are you sure to have the right param line?)\n",
+ "filesystem (are you sure to have the right parameter " \
+ "dasd=xxx?)\n",
prog_name);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)