diff --git a/bin/pwd/pwd.c b/bin/pwd/pwd.c index 849c309926ac..b8396176e7ed 100644 --- a/bin/pwd/pwd.c +++ b/bin/pwd/pwd.c @@ -82,7 +82,7 @@ main(argc, argv) if (argc == 1) { p = realpath(argv[0], buf); if (p == NULL) - err(1, argv[0]); + err(1, "%s", argv[0]); (void)printf("%s\n", p); } else if (argc == 0) { p = getcwd(NULL, 0);