=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/showmount/showmount.c,v retrieving revision 1.6 retrieving revision 1.7 diff -c -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 **** ! /* $OpenBSD: showmount.c,v 1.6 1997/02/11 18:10:57 deraadt Exp $ */ /* $NetBSD: showmount.c,v 1.7 1996/05/01 18:14:10 cgd Exp $ */ /* --- 1,4 ---- ! /* $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,53 **** #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 $"; #endif not lint #include --- 47,53 ---- #if 0 static char sccsid[] = "@(#)showmount.c 8.3 (Berkeley) 3/29/95"; #endif ! static char rcsid[] = "$OpenBSD: showmount.c,v 1.7 1997/09/11 11:09:56 deraadt Exp $"; #endif not lint #include *************** *** 248,254 **** XDR *xdrsp; struct mountlist **mlp; { ! struct mountlist *mp, **otp, *tp; int bool, val, val2; char *strp; --- 248,254 ---- XDR *xdrsp; struct mountlist **mlp; { ! struct mountlist *mp, **otp = NULL, *tp; int bool, val, val2; char *strp; *************** *** 301,307 **** goto next; } break; ! }; if (val < 0) { otp = &tp->ml_left; tp = tp->ml_left; --- 301,307 ---- goto next; } break; ! } if (val < 0) { otp = &tp->ml_left; tp = tp->ml_left;