Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2017 00:19:09 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r323406 - stable/11/tools/test/ppsapi
Message-ID:  <201709110019.v8B0J97u016173@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709110019.v8B0J97u016173>