Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/coreutils/mkfifo.c
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/coreutils/mkfifo.c
r1765 r2725 5 5 * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> 6 6 * 7 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.7 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 8 8 */ 9 9 … … 14 14 #include "libcoreutils/coreutils.h" 15 15 16 int mkfifo_main(int argc, char **argv); 17 int mkfifo_main(int argc, char **argv) 16 /* This is a NOEXEC applet. Be very careful! */ 17 18 int mkfifo_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 19 int mkfifo_main(int argc UNUSED_PARAM, char **argv) 18 20 { 19 21 mode_t mode; 20 22 int retval = EXIT_SUCCESS; 21 23 22 mode = getopt_mk_fifo_nod(arg c, argv);24 mode = getopt_mk_fifo_nod(argv); 23 25 24 26 argv += optind; … … 29 31 do { 30 32 if (mkfifo(*argv, mode) < 0) { 31 bb_ perror_msg("%s", *argv);/* Avoid multibyte problems. */33 bb_simple_perror_msg(*argv); /* Avoid multibyte problems. */ 32 34 retval = EXIT_FAILURE; 33 35 }
Note:
See TracChangeset
for help on using the changeset viewer.