summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-04-06 23:54:26 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-04-06 23:54:26 +0000
commit8569b5e458110a6e68cede409451b2054d7d561a (patch)
tree78defde245cf8bc1e7d50daf98b10a93fa0174aa
parent0d6b08674cced02fcabb4d8da2f676f1cf85097f (diff)
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);\
}\
}