[BusyBox-cvs] svn commit: trunk/busybox: include miscutils
andersen at busybox.net
andersen at busybox.net
Mon Jul 18 09:45:36 UTC 2005
Author: andersen
Date: 2005-07-18 03:45:35 -0600 (Mon, 18 Jul 2005)
New Revision: 10848
Log:
a bit more polish
Modified:
trunk/busybox/include/usage.h
trunk/busybox/miscutils/makedevs.c
Changeset:
Modified: trunk/busybox/include/usage.h
===================================================================
--- trunk/busybox/include/usage.h 2005-07-18 09:42:37 UTC (rev 10847)
+++ trunk/busybox/include/usage.h 2005-07-18 09:45:35 UTC (rev 10848)
@@ -1676,7 +1676,6 @@
#define makedevs_full_usage \
"Creates a range of special files as specified in a device table.\n" \
"Device table entries take the form of:\n" \
- "type mode user group major minor start increment count\n\n" \
"<type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count>\n" \
"Where name is the file name, type can be one of:\n" \
" f A regular file\n" \
Modified: trunk/busybox/miscutils/makedevs.c
===================================================================
--- trunk/busybox/miscutils/makedevs.c 2005-07-18 09:42:37 UTC (rev 10847)
+++ trunk/busybox/miscutils/makedevs.c 2005-07-18 09:45:35 UTC (rev 10848)
@@ -112,11 +112,11 @@
}
if (optind >= argc || (rootdir=argv[optind])==NULL) {
- bb_error_msg_and_die("root directory not speficied");
+ bb_error_msg_and_die("root directory not specified");
}
if (chdir(rootdir) != 0) {
- bb_perror_msg_and_die("Couldnt chdir to %s", rootdir);
+ bb_perror_msg_and_die("could not chdir to %s", rootdir);
}
umask(0);
@@ -190,7 +190,7 @@
else if (type == 'b') {
mode |= S_IFBLK;
} else {
- bb_error_msg("line %d: Unsupported file type %c", linenum, type);
+ bb_error_msg("line %d: unsupported file type %c", linenum, type);
ret = EXIT_FAILURE;
goto loop;
}
@@ -204,7 +204,7 @@
sprintf(full_name_inc, "%s%d", full_name, i);
rdev = (major << 8) + minor + (i * increment - start);
if (mknod(full_name_inc, mode, rdev) == -1) {
- bb_perror_msg("line %d: Couldnt create node %s", linenum, full_name_inc);
+ bb_perror_msg("line %d: could not create node %s", linenum, full_name_inc);
ret = EXIT_FAILURE;
}
else if (chown(full_name_inc, uid, gid) == -1) {
@@ -216,7 +216,7 @@
} else {
rdev = (major << 8) + minor;
if (mknod(full_name, mode, rdev) == -1) {
- bb_perror_msg("line %d: Couldnt create node %s", linenum, full_name);
+ bb_perror_msg("line %d: could not create node %s", linenum, full_name);
ret = EXIT_FAILURE;
}
else if (chown(full_name, uid, gid) == -1) {
More information about the busybox-cvs
mailing list