package/makedevs/makedevs.c: fix typos
And replace Couldn't with 'Could not' for clarity. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
b185bfccbf
commit
79d062ab99
1 changed files with 3 additions and 3 deletions
|
|
@ -165,7 +165,7 @@ int bb_make_directory (char *path, long mode, int flags)
|
|||
}
|
||||
/* Since the directory exists, don't attempt to change
|
||||
* permissions if it was the full target. Note that
|
||||
* this is not an error conditon. */
|
||||
* this is not an error condition. */
|
||||
if (!c) {
|
||||
umask(mask);
|
||||
return 0;
|
||||
|
|
@ -480,11 +480,11 @@ int main(int argc, char **argv)
|
|||
}
|
||||
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue