diff options
-rw-r--r-- | usr.bin/showmount/showmount.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/showmount/showmount.c b/usr.bin/showmount/showmount.c index fdaa1e4c52b..fa579faa893 100644 --- a/usr.bin/showmount/showmount.c +++ b/usr.bin/showmount/showmount.c @@ -1,4 +1,4 @@ -/* $OpenBSD: showmount.c,v 1.6 1997/02/11 18:10:57 deraadt Exp $ */ +/* $OpenBSD: showmount.c,v 1.7 1997/09/11 11:09:56 deraadt Exp $ */ /* $NetBSD: showmount.c,v 1.7 1996/05/01 18:14:10 cgd Exp $ */ /* @@ -47,7 +47,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)showmount.c 8.3 (Berkeley) 3/29/95"; #endif -static char rcsid[] = "$OpenBSD: showmount.c,v 1.6 1997/02/11 18:10:57 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: showmount.c,v 1.7 1997/09/11 11:09:56 deraadt Exp $"; #endif not lint #include <sys/types.h> @@ -248,7 +248,7 @@ xdr_mntdump(xdrsp, mlp) XDR *xdrsp; struct mountlist **mlp; { - struct mountlist *mp, **otp, *tp; + struct mountlist *mp, **otp = NULL, *tp; int bool, val, val2; char *strp; @@ -301,7 +301,7 @@ xdr_mntdump(xdrsp, mlp) goto next; } break; - }; + } if (val < 0) { otp = &tp->ml_left; tp = tp->ml_left; |