diff options
author | dillon <dillon@FreeBSD.org> | 2002-07-10 20:44:55 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2002-07-10 20:44:55 +0000 |
commit | 3adf63f81dde1ef0bfe13d1926aecb7453b2cfec (patch) | |
tree | 532d4c0413a4d4d483da0b70f7b88f1fad49506d /bin/cp | |
parent | d5291af616cd93f5d0f49512296098b8f3ed246b (diff) | |
download | FreeBSD-src-3adf63f81dde1ef0bfe13d1926aecb7453b2cfec.zip FreeBSD-src-3adf63f81dde1ef0bfe13d1926aecb7453b2cfec.tar.gz |
err() is documented as allowing NULL for the format string but GCC isn't
happy about it any more so change the usage to make buildworld work again.
Diffstat (limited to 'bin/cp')
-rw-r--r-- | bin/cp/cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cp/cp.c b/bin/cp/cp.c index ba79018..2e17f75 100644 --- a/bin/cp/cp.c +++ b/bin/cp/cp.c @@ -267,7 +267,7 @@ copy(char *argv[], enum op type, int fts_options) umask(~mask); if ((ftsp = fts_open(argv, fts_options, mastercmp)) == NULL) - err(1, NULL); + err(1, "fts_open"); for (badcp = rval = 0; (curr = fts_read(ftsp)) != NULL; badcp = 0) { switch (curr->fts_info) { case FTS_NS: |