Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/coreutils/dirname.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/dirname.c
r1765 r2725 5 5 * Copyright (C) 1999-2004 by Erik Andersen <andersen@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 … … 15 15 /* This is a NOFORK applet. Be very careful! */ 16 16 17 int dirname_main(int argc, char **argv) ;18 int dirname_main(int argc , char **argv)17 int dirname_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 18 int dirname_main(int argc UNUSED_PARAM, char **argv) 19 19 { 20 if (argc != 2) { 21 bb_show_usage(); 22 } 23 24 puts(dirname(argv[1])); 25 26 return fflush(stdout); 20 puts(dirname(single_argv(argv))); 21 return fflush_all(); 27 22 }
Note:
See TracChangeset
for help on using the changeset viewer.