summaryrefslogtreecommitdiff
path: root/mkfs_minix.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-14 01:51:25 +0000
committerMatt Kraai <kraai@debian.org>2000-07-14 01:51:25 +0000
commitd537a95fdbc0b4a5f38edea8593b4c085fdd7fcb (patch)
tree62127f20fc07758e445d8c4e186306cbe83d77b1 /mkfs_minix.c
parent4ac6cb534d78d63d7b0a206118c56bad7024b9f8 (diff)
downloadbusybox-w32-d537a95fdbc0b4a5f38edea8593b4c085fdd7fcb.tar.gz
busybox-w32-d537a95fdbc0b4a5f38edea8593b4c085fdd7fcb.tar.bz2
busybox-w32-d537a95fdbc0b4a5f38edea8593b4c085fdd7fcb.zip
Use errorMsg rather than fprintf.
Diffstat (limited to 'mkfs_minix.c')
-rw-r--r--mkfs_minix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mkfs_minix.c b/mkfs_minix.c
index b6f958f46..e4dedaf82 100644
--- a/mkfs_minix.c
+++ b/mkfs_minix.c
@@ -263,7 +263,7 @@ static unsigned long req_nr_inodes = 0;
263 */ 263 */
264static volatile void die(char *str) 264static volatile void die(char *str)
265{ 265{
266 fprintf(stderr, "%s: %s\n", applet_name, str); 266 errorMsg("%s\n", str);
267 exit(8); 267 exit(8);
268} 268}
269 269
@@ -814,8 +814,8 @@ extern int mkfs_minix_main(int argc, char **argv)
814#ifdef HAVE_MINIX2 814#ifdef HAVE_MINIX2
815 version2 = 1; 815 version2 = 1;
816#else 816#else
817 fprintf(stderr, "%s: not compiled with minix v2 support\n", 817 errorMsg("%s: not compiled with minix v2 support\n",
818 applet_name, device_name); 818 device_name);
819 exit(-1); 819 exit(-1);
820#endif 820#endif
821 break; 821 break;