diff options
author | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-08-24 01:27:08 +0000 |
---|---|---|
committer | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-08-24 01:27:08 +0000 |
commit | bcb2840ac7f0200eb59b3f6645f6623f61da6844 (patch) | |
tree | 0285dd12f766cee82c39c7fd2ab19ee45089db7b /sys/ddb | |
parent | 009a483c6dff41c7932781ca9d430bf167146044 (diff) |
sprinkle some __kprintf__ attributes around functions which use format
strings in the kernel to make gcc aware of the extra modifiers
deraadt@ ok
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_output.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_output.h b/sys/ddb/db_output.h index 58aa5cd4447..2a9630c9123 100644 --- a/sys/ddb/db_output.h +++ b/sys/ddb/db_output.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_output.h,v 1.13 2003/06/28 01:52:18 tedu Exp $ */ +/* $OpenBSD: db_output.h,v 1.14 2003/08/24 01:27:07 avsm Exp $ */ /* $NetBSD: db_output.h,v 1.9 1996/04/04 05:13:50 cgd Exp $ */ /* @@ -37,7 +37,7 @@ void db_force_whitespace(void); void db_putchar(int); int db_print_position(void); int db_printf(const char *, ...) - __kprintf_attribute__((__format__(__kprintf__,1,2))); + __attribute__((__format__(__kprintf__,1,2))); void db_end_line(int); extern int db_log; |