X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=coreutils%2Fmknod.c;h=6fa6d8353aeaa1d20deb31828aad55d896b71576;hb=ec1a4b5a521b5adf295bc757c25231910f8c854b;hp=7cc478f177e3cc6755137afd0af08d26578e0bfd;hpb=1385899416a4396385ad421ae1f532be7103738a;p=oweals%2Fbusybox.git diff --git a/coreutils/mknod.c b/coreutils/mknod.c index 7cc478f17..6fa6d8353 100644 --- a/coreutils/mknod.c +++ b/coreutils/mknod.c @@ -17,6 +17,7 @@ static const char modes_chars[] = { 'p', 'c', 'u', 'b', 0, 1, 1, 2 }; static const mode_t modes_cubp[] = { S_IFIFO, S_IFCHR, S_IFBLK }; +int mknod_main(int argc, char **argv); int mknod_main(int argc, char **argv) { mode_t mode; @@ -32,7 +33,7 @@ int mknod_main(int argc, char **argv) dev = 0; if ((*name != 'p') && ((argc -= 2) == 2)) { - /* Autodetect what the system supports; thexe macros should + /* Autodetect what the system supports; these macros should * optimize out to two constants. */ dev = makedev(xatoul_range(argv[2], 0, major(UINT_MAX)), xatoul_range(argv[3], 0, minor(UINT_MAX)));