summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoruwe <uwe@openbsd.org>2005-05-10 10:50:16 +0000
committeruwe <uwe@openbsd.org>2005-05-10 10:50:16 +0000
commitd74857e07691d50973497d291e1598cb4163300e (patch)
treeda253093c6eabbeed14a9f0491ba845408006875
parentreport real errors on fallback from ControlMaster=no to normal connect (diff)
downloadwireguard-openbsd-d74857e07691d50973497d291e1598cb4163300e.tar.xz
wireguard-openbsd-d74857e07691d50973497d291e1598cb4163300e.zip
db_printf(s) -> db_printf("%s", s) from NetBSD
-rw-r--r--sys/ddb/db_command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index 734f03ee03e..f650e16d538 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_command.c,v 1.39 2005/01/03 16:49:56 miod Exp $ */
+/* $OpenBSD: db_command.c,v 1.40 2005/05/10 10:50:16 uwe Exp $ */
/* $NetBSD: db_command.c,v 1.20 1996/03/30 22:30:05 christos Exp $ */
/*
@@ -554,7 +554,7 @@ db_error(s)
char *s;
{
if (s)
- db_printf(s);
+ db_printf("%s", s);
db_flush_lex();
longjmp(db_recover);
}