summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2002-04-06 23:54:25 +0000
committerfgsch <fgsch@openbsd.org>2002-04-06 23:54:25 +0000
commit2d5dbc474766f011c3809c4490560d8553e7c6d3 (patch)
tree1827f4b09db24a242b60cbc372b839b0e62797dc
parento Add -D option to set antenna diversity on Symbol cards (diff)
downloadwireguard-openbsd-2d5dbc474766f011c3809c4490560d8553e7c6d3.tar.xz
wireguard-openbsd-2d5dbc474766f011c3809c4490560d8553e7c6d3.zip
print the condition correctly; closes PR 2530. millert@ ok.
-rw-r--r--usr.sbin/named/host/host.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/named/host/host.c b/usr.sbin/named/host/host.c
index 48c1d8396cc..9976873bcdd 100644
--- a/usr.sbin/named/host/host.c
+++ b/usr.sbin/named/host/host.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: host.c,v 1.3 1997/04/13 21:25:50 provos Exp $ */
+/* $OpenBSD: host.c,v 1.4 2002/04/06 23:54:25 fgsch Exp $ */
/*
* Copyright (c) 1985, 1989 Regents of the University of California.
@@ -476,7 +476,7 @@ bool classprint = FALSE; /* print class value in non-verbose mode */
{\
(void) fprintf(stderr, "assertion botch: ");\
(void) fprintf(stderr, "%s(%d): ", __FILE__, __LINE__);\
- (void) fprintf(stderr, "%s\n", "condition");\
+ (void) fprintf(stderr, "%s\n", #condition);\
exit(EX_SOFTWARE);\
}\
}