svn commit: r323406 - stable/11/tools/test/ppsapi
Ian Lepore
ian at FreeBSD.org
Mon Sep 11 00:19:11 UTC 2017
Author: ian
Date: Mon Sep 11 00:19:09 2017
New Revision: 323406
URL: https://svnweb.freebsd.org/changeset/base/323406
Log:
MFC r315692: Eliminate a "format string is not a string literal" warning.
Modified:
stable/11/tools/test/ppsapi/ppsapitest.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/tools/test/ppsapi/ppsapitest.c
==============================================================================
--- stable/11/tools/test/ppsapi/ppsapitest.c Mon Sep 11 00:14:04 2017 (r323405)
+++ stable/11/tools/test/ppsapi/ppsapitest.c Mon Sep 11 00:19:09 2017 (r323406)
@@ -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;
}
More information about the svn-src-stable
mailing list