diff options
Diffstat (limited to 'debianutils/run_parts.c')
-rw-r--r-- | debianutils/run_parts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debianutils/run_parts.c b/debianutils/run_parts.c index a6ad81096..a941e1fc8 100644 --- a/debianutils/run_parts.c +++ b/debianutils/run_parts.c | |||
@@ -78,7 +78,7 @@ int run_parts_main(int argc, char **argv) | |||
78 | { | 78 | { |
79 | const unsigned int mask = (unsigned int) strtol(optarg, NULL, 8); | 79 | const unsigned int mask = (unsigned int) strtol(optarg, NULL, 8); |
80 | if (mask > 07777) { | 80 | if (mask > 07777) { |
81 | perror_msg_and_die("bad umask value"); | 81 | bb_perror_msg_and_die("bad umask value"); |
82 | } | 82 | } |
83 | umask(mask); | 83 | umask(mask); |
84 | } | 84 | } |
@@ -90,13 +90,13 @@ int run_parts_main(int argc, char **argv) | |||
90 | args[argcount++] = optarg; | 90 | args[argcount++] = optarg; |
91 | break; | 91 | break; |
92 | default: | 92 | default: |
93 | show_usage(); | 93 | bb_show_usage(); |
94 | } | 94 | } |
95 | } | 95 | } |
96 | 96 | ||
97 | /* We require exactly one argument: the directory name */ | 97 | /* We require exactly one argument: the directory name */ |
98 | if (optind != (argc - 1)) { | 98 | if (optind != (argc - 1)) { |
99 | show_usage(); | 99 | bb_show_usage(); |
100 | } | 100 | } |
101 | 101 | ||
102 | args[0] = argv[optind]; | 102 | args[0] = argv[optind]; |