summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/atalk.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-03-13 22:02:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-03-13 22:02:14 +0000
commit1411c0f4f749dda670fc2c716705249f2124d166 (patch)
treefe5f8b476f07e93563dac0060d8c4510b6da11b0 /usr.bin/netstat/atalk.c
parent9fac6c32251e4d74a56854585c787d674d83fbb7 (diff)
some NULL vs 0 and knf; parts from nimadeus@pandora.be
Diffstat (limited to 'usr.bin/netstat/atalk.c')
-rw-r--r--usr.bin/netstat/atalk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/netstat/atalk.c b/usr.bin/netstat/atalk.c
index 2a2c9677abf..fec8b7209c6 100644
--- a/usr.bin/netstat/atalk.c
+++ b/usr.bin/netstat/atalk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atalk.c,v 1.11 2003/06/03 02:56:13 millert Exp $ */
+/* $OpenBSD: atalk.c,v 1.12 2004/03/13 22:02:13 deraadt Exp $ */
/* $NetBSD: atalk.c,v 1.2 1997/05/22 17:21:26 christos Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from @(#)atalk.c 1.1 (Whistle) 6/6/96";
#else
-static char rcsid[] = "$OpenBSD: atalk.c,v 1.11 2003/06/03 02:56:13 millert Exp $";
+static char rcsid[] = "$OpenBSD: atalk.c,v 1.12 2004/03/13 22:02:13 deraadt Exp $";
#endif
#endif /* not lint */
@@ -206,7 +206,7 @@ char *
atalk_print2(const struct sockaddr *sa, const struct sockaddr *mask, int what)
{
size_t n, l;
- static char buf[100];
+ static char buf[100];
struct sockaddr_at *sat1, *sat2;
struct sockaddr_at thesockaddr;
struct sockaddr *sa2;