=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/showmount/showmount.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- src/usr.bin/showmount/showmount.c 1997/02/11 18:10:57 1.6 +++ src/usr.bin/showmount/showmount.c 1997/09/11 11:09:56 1.7 @@ -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 @@ #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 @@ -248,7 +248,7 @@ 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 @@ goto next; } break; - }; + } if (val < 0) { otp = &tp->ml_left; tp = tp->ml_left;