summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2004-07-05 02:19:04 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2004-07-05 02:19:04 +0000
commitd88aa2e17a50be20099bfd17b75f6c2a0c1d0cc1 (patch)
tree50d84fe3b35a18bd4ecf7181872994f73bf4eda5
parent70a7d7fab331c366cda499ddb294b530ce62d9f8 (diff)
fix warning: extra tokens at end of #undef; ok henning
-rw-r--r--sbin/route/show.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/route/show.c b/sbin/route/show.c
index 6758fc9efe6..3f06674fb39 100644
--- a/sbin/route/show.c
+++ b/sbin/route/show.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: show.c,v 1.32 2004/06/25 01:26:01 henning Exp $ */
+/* $OpenBSD: show.c,v 1.33 2004/07/05 02:19:03 pvalchev Exp $ */
/* $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)route.c 8.3 (Berkeley) 3/9/94";
#else
-static const char rcsid[] = "$OpenBSD: show.c,v 1.32 2004/06/25 01:26:01 henning Exp $";
+static const char rcsid[] = "$OpenBSD: show.c,v 1.33 2004/07/05 02:19:03 pvalchev Exp $";
#endif
#endif /* not lint */
@@ -528,7 +528,7 @@ netname4(in_addr_t in, struct sockaddr_in *maskp)
else
snprintf(line, sizeof line, "%u.%u.%u.%u/%d", C(in >> 24),
C(in >> 16), C(in >> 8), C(in), mbits);
-#undef C(x)
+#undef C
return (line);
}