aboutsummaryrefslogtreecommitdiff
path: root/tools/test
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2017-03-21 22:21:29 +0000
committerIan Lepore <ian@FreeBSD.org>2017-03-21 22:21:29 +0000
commit83157972d6381459f26266cdfac77cbd99bbba98 (patch)
treea268431fc1225535f154312820d3137d8eec99c9 /tools/test
parent3507006763b55931cdd715fb693a1092432a144d (diff)
Notes
Diffstat (limited to 'tools/test')
-rw-r--r--tools/test/ppsapi/ppsapitest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/ppsapi/ppsapitest.c b/tools/test/ppsapi/ppsapitest.c
index 78e73825e16c..ef655e96d6df 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;
}