From a9819b290848e0a760f3805d5937fa050235d707 Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Fri, 22 Dec 2000 01:48:07 +0000 Subject: Use busybox error handling functions wherever possible. --- coreutils/mknod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/mknod.c') diff --git a/coreutils/mknod.c b/coreutils/mknod.c index 022ab8571..4d8c598ea 100644 --- a/coreutils/mknod.c +++ b/coreutils/mknod.c @@ -84,7 +84,7 @@ int mknod_main(int argc, char **argv) mode |= perm; if (mknod(argv[0], mode, dev) != 0) - error_msg_and_die("%s: %s\n", argv[0], strerror(errno)); + perror_msg_and_die("%s", argv[0]); return EXIT_SUCCESS; } -- cgit v1.2.3