diff options
author | 2017-04-08 22:50:41 +0000 | |
---|---|---|
committer | 2017-04-08 22:50:41 +0000 | |
commit | 12fe996ad7ead0911f59e0dda9906d11f9ca34e5 (patch) | |
tree | 89eb519b1a3483f198c1201455e3a2187df59e32 | |
parent | For legacy interrupt use the tag of the topmost bridge to establish the (diff) | |
download | wireguard-openbsd-12fe996ad7ead0911f59e0dda9906d11f9ca34e5.tar.xz wireguard-openbsd-12fe996ad7ead0911f59e0dda9906d11f9ca34e5.zip |
format string is better be literal
OK deraadt
-rw-r--r-- | games/hunt/hunt/hunt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/hunt/hunt/hunt.c b/games/hunt/hunt/hunt.c index dae57951cac..f0e3af65eb6 100644 --- a/games/hunt/hunt/hunt.c +++ b/games/hunt/hunt/hunt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hunt.c,v 1.21 2016/03/07 12:07:56 mestre Exp $ */ +/* $OpenBSD: hunt.c,v 1.22 2017/04/08 22:50:41 gsoares Exp $ */ /* $NetBSD: hunt.c,v 1.8 1998/09/13 15:27:28 hubertf Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. @@ -506,9 +506,9 @@ leave(int eval, char *mesg) errno = saved_errno; if (errno == 0 && mesg != NULL) - errx(eval, mesg); + errx(eval, "%s", mesg); else if (mesg != NULL) - err(eval, mesg); + err(eval, "%s", mesg); exit(eval); } |