aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2002-07-10 20:36:25 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2002-07-10 20:36:25 +0000
commit3951e2ab2811c3930d918b43c4c801c9143c258f (patch)
tree9d13e747c38c7aa0874b00545061d986e0a1be73 /bin
parent50b6a55512a57c6b111dcb8dc8881c43b618902a (diff)
downloadsrc-3951e2ab2811c3930d918b43c4c801c9143c258f.tar.gz
src-3951e2ab2811c3930d918b43c4c801c9143c258f.zip
err() is documented as allowing NULL for the format string but GCC isn't
happy about it any more so change the useage so buildworld works again.
Notes
Notes: svn path=/head/; revision=99743
Diffstat (limited to 'bin')
-rw-r--r--bin/chmod/chmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c
index 27695f378c9b..2cc37d8002b6 100644
--- a/bin/chmod/chmod.c
+++ b/bin/chmod/chmod.c
@@ -171,7 +171,7 @@ done: argv += optind;
}
if ((ftsp = fts_open(++argv, fts_options, 0)) == NULL)
- err(1, NULL);
+ err(1, "fts_open");
for (rval = 0; (p = fts_read(ftsp)) != NULL;) {
switch (p->fts_info) {
case FTS_D: /* Change it at FTS_DP. */