diff options
author | 2016-08-17 22:15:08 +0000 | |
---|---|---|
committer | 2016-08-17 22:15:08 +0000 | |
commit | 1e29e77683c3ed1314184cdcfa91e9a6513a0e98 (patch) | |
tree | ee0f3e5c11d827a7753b86cd0a0282e81a0c8f31 /lib/libc/stdio/vfwprintf.c | |
parent | Add HISTORY section. (diff) | |
download | wireguard-openbsd-1e29e77683c3ed1314184cdcfa91e9a6513a0e98.tar.xz wireguard-openbsd-1e29e77683c3ed1314184cdcfa91e9a6513a0e98.zip |
% is escaped with more %, not backslash.
Diffstat (limited to 'lib/libc/stdio/vfwprintf.c')
-rw-r--r-- | lib/libc/stdio/vfwprintf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/vfwprintf.c b/lib/libc/stdio/vfwprintf.c index e65dddc0c74..f59a4d545db 100644 --- a/lib/libc/stdio/vfwprintf.c +++ b/lib/libc/stdio/vfwprintf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfwprintf.c,v 1.16 2016/08/17 18:07:07 deraadt Exp $ */ +/* $OpenBSD: vfwprintf.c,v 1.17 2016/08/17 22:15:08 tedu Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. @@ -822,7 +822,7 @@ fp_common: int save_errno = errno; syslog_r(LOG_CRIT | LOG_CONS, &sdata, - "vfwprintf \%ls NULL in \"%s\"", fmt0); + "vfwprintf %%ls NULL in \"%s\"", fmt0); errno = save_errno; cp = L"(null)"; @@ -834,7 +834,7 @@ fp_common: int save_errno = errno; syslog_r(LOG_CRIT | LOG_CONS, &sdata, - "vfwprintf \%s NULL in \"%s\"", fmt0); + "vfwprintf %%s NULL in \"%s\"", fmt0); errno = save_errno; mbsarg = "(null)"; |