artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c31bff
)
warn format string should be literal.
author
fcambus
<fcambus@openbsd.org>
Mon, 3 Apr 2017 20:59:19 +0000
(20:59 +0000)
committer
fcambus
<fcambus@openbsd.org>
Mon, 3 Apr 2017 20:59:19 +0000
(20:59 +0000)
OK deraadt@, millert@
sbin/shutdown/shutdown.c
patch
|
blob
|
history
diff --git
a/sbin/shutdown/shutdown.c
b/sbin/shutdown/shutdown.c
index
a8c8b16
..
4b6fe40
100644
(file)
--- a/
sbin/shutdown/shutdown.c
+++ b/
sbin/shutdown/shutdown.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: shutdown.c,v 1.4
5 2016/09/01 09:50:38 deraadt
Exp $ */
+/* $OpenBSD: shutdown.c,v 1.4
6 2017/04/03 20:59:19 fcambus
Exp $ */
/* $NetBSD: shutdown.c,v 1.9 1995/03/18 15:01:09 cgd Exp $ */
/*
@@
-397,7
+397,7
@@
die_you_gravy_sucking_pig_dog(void)
*arg++ = NULL;
execve(path, args, NULL);
syslog(LOG_ERR, "shutdown: can't exec %s: %m.", path);
- warn(path);
+ warn(
"%s",
path);
}
if (access(_PATH_RC, R_OK) != -1) {
pid_t pid;