summaryrefslogtreecommitdiff
path: root/sys/ddb
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-23 23:54:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-23 23:54:29 +0000
commitecd6f9dca4eccf5c882b97c60ae96a03d1cae789 (patch)
tree238298d3ef3a8c282fe15ac2de32c378205fe04b /sys/ddb
parent9513934bb36613056f777e4f63a94c5fa9aea64e (diff)
make printf/addlog return 0, for compat to userland
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_output.c4
-rw-r--r--sys/ddb/db_output.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/ddb/db_output.c b/sys/ddb/db_output.c
index 7a6514661b9..e6839633d4e 100644
--- a/sys/ddb/db_output.c
+++ b/sys/ddb/db_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_output.c,v 1.5 1996/04/21 22:19:05 deraadt Exp $ */
+/* $OpenBSD: db_output.c,v 1.6 1996/07/23 23:54:27 deraadt Exp $ */
/* $NetBSD: db_output.c,v 1.13 1996/04/01 17:27:14 christos Exp $ */
/*
@@ -201,7 +201,7 @@ db_print_position()
extern int db_radix;
/*VARARGS1*/
-void
+int
#if __STDC__
db_printf(const char *fmt, ...)
#else
diff --git a/sys/ddb/db_output.h b/sys/ddb/db_output.h
index 3a1f7f7ca1e..e4792ef5cec 100644
--- a/sys/ddb/db_output.h
+++ b/sys/ddb/db_output.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_output.h,v 1.5 1996/04/21 22:19:07 deraadt Exp $ */
+/* $OpenBSD: db_output.h,v 1.6 1996/07/23 23:54:28 deraadt Exp $ */
/* $NetBSD: db_output.h,v 1.9 1996/04/04 05:13:50 cgd Exp $ */
/*
@@ -36,7 +36,7 @@
void db_force_whitespace __P((void));
void db_putchar __P((int));
int db_print_position __P((void));
-void db_printf __P((const char *, ...))
+int db_printf __P((const char *, ...))
__kprintf_attribute__((__format__(__kprintf__,1,2)));
void kdbprintf __P((const char *, ...))
__kprintf_attribute__((__format__(__kprintf__,1,2)));