diff options
author | dillon <dillon@FreeBSD.org> | 2002-07-10 20:36:25 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2002-07-10 20:36:25 +0000 |
commit | d5291af616cd93f5d0f49512296098b8f3ed246b (patch) | |
tree | 9d13e747c38c7aa0874b00545061d986e0a1be73 /bin/chmod | |
parent | e296b5e4108fe4c8e15dffbf96d1913bccfae056 (diff) | |
download | FreeBSD-src-d5291af616cd93f5d0f49512296098b8f3ed246b.zip FreeBSD-src-d5291af616cd93f5d0f49512296098b8f3ed246b.tar.gz |
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.
Diffstat (limited to 'bin/chmod')
-rw-r--r-- | bin/chmod/chmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c index 27695f3..2cc37d8 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. */ |