Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa panic takes a printf format too.
details: https://anonhg.NetBSD.org/src/rev/16c4509969b3
branches: trunk
changeset: 760038:16c4509969b3
user: christos <christos%NetBSD.org@localhost>
date: Fri Dec 24 23:12:28 2010 +0000
description:
panic takes a printf format too.
diffstat:
sys/lib/libsa/stand.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 41efabc187ee -r 16c4509969b3 sys/lib/libsa/stand.h
--- a/sys/lib/libsa/stand.h Fri Dec 24 20:54:28 2010 +0000
+++ b/sys/lib/libsa/stand.h Fri Dec 24 23:12:28 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stand.h,v 1.69 2009/03/19 10:20:54 tsutsui Exp $ */
+/* $NetBSD: stand.h,v 1.70 2010/12/24 23:12:28 christos Exp $ */
/*
* Copyright (c) 1999 Christopher G. Demetriou. All rights reserved.
@@ -238,7 +238,8 @@
int getfile(char *prompt, int mode);
char *strerror(int);
__dead void exit(int);
-__dead void panic(const char *, ...);
+__dead void panic(const char *, ...)
+ __attribute__((__format__(__printf__, 1, 2)));
__dead void _rtt(void);
void *memcpy(void *, const void *, size_t);
void *memmove(void *, const void *, size_t);
Home |
Main Index |
Thread Index |
Old Index