diff options
author | ian <ian@FreeBSD.org> | 2017-09-11 00:19:09 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2017-09-11 00:19:09 +0000 |
commit | 49cc89d928f6046ecaa6436b7380b918299e4e85 (patch) | |
tree | 4677ddd2efe961c48be10f467f37227da3b15396 /tools | |
parent | 37cf69a5e2a5f82d33a2c5104dab1484332ca212 (diff) | |
download | FreeBSD-src-49cc89d928f6046ecaa6436b7380b918299e4e85.zip FreeBSD-src-49cc89d928f6046ecaa6436b7380b918299e4e85.tar.gz |
MFC r315692: Eliminate a "format string is not a string literal" warning.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/test/ppsapi/ppsapitest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/ppsapi/ppsapitest.c b/tools/test/ppsapi/ppsapitest.c index 78e7382..ef655e9 100644 --- a/tools/test/ppsapi/ppsapitest.c +++ b/tools/test/ppsapi/ppsapitest.c @@ -72,7 +72,7 @@ main(int argc, char **argv) if (argc > 0) { fd = open(argv[0], O_RDONLY); if (fd < 0) - err(1, argv[0]); + err(1, "%s", argv[0]); } else { fd = 0; } |