aboutsummaryrefslogtreecommitdiff
path: root/debianutils/run_parts.c
diff options
context:
space:
mode:
authormjn3 <mjn3@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-03-19 09:13:01 +0000
committermjn3 <mjn3@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-03-19 09:13:01 +0000
commite901c15d890dbbdce4c086963cb1513653fc46b5 (patch)
treea318d0f03aa076c74b576ea45dc543a5669e8e91 /debianutils/run_parts.c
parent40758c00616c3b2c85d83eb4afdeb04b1f65c9f1 (diff)
downloadbusybox-w32-e901c15d890dbbdce4c086963cb1513653fc46b5.tar.gz
busybox-w32-e901c15d890dbbdce4c086963cb1513653fc46b5.tar.bz2
busybox-w32-e901c15d890dbbdce4c086963cb1513653fc46b5.zip
Major coreutils update.
git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'debianutils/run_parts.c')
-rw-r--r--debianutils/run_parts.c6
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];