Date: Tue, 21 Mar 2017 22:21:29 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r315692 - head/tools/test/ppsapi Message-ID: <201703212221.v2LMLTlS050461@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ian Date: Tue Mar 21 22:21:29 2017 New Revision: 315692 URL: https://svnweb.freebsd.org/changeset/base/315692 Log: Eliminate a "format string is not a string literal" warning. Modified: head/tools/test/ppsapi/ppsapitest.c Modified: head/tools/test/ppsapi/ppsapitest.c ============================================================================== --- head/tools/test/ppsapi/ppsapitest.c Tue Mar 21 22:09:00 2017 (r315691) +++ head/tools/test/ppsapi/ppsapitest.c Tue Mar 21 22:21:29 2017 (r315692) @@ -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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703212221.v2LMLTlS050461>