public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f23a5c5
)
chmod.c: remove stdio
author
Alan Cox
<alan@linux.intel.com>
Thu, 21 May 2015 22:32:50 +0000
(23:32 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Thu, 21 May 2015 22:32:50 +0000
(23:32 +0100)
Applications/util/chmod.c
patch
|
blob
|
history
diff --git
a/Applications/util/chmod.c
b/Applications/util/chmod.c
index
3977c9f
..
28f0a82
100644
(file)
--- a/
Applications/util/chmod.c
+++ b/
Applications/util/chmod.c
@@
-4,6
+4,8
@@
* You may freely redistribute this software, in source or binary
* form, provided that you do not alter this copyright mention in any
* way.
+ *
+ * Stdio usage removed Alan Cox 2015
*/
#include <dirent.h>
@@
-258,6
+260,6
@@
int do_change(char *name)
/* Display Posix prototype */
void usage(void)
{
-
fprintf(stderr, "Usage: chmod [-R] mode file...\n"
);
+
write(2, "Usage: chmod [-R] mode file...\n",31
);
exit(1);
}