diff options
-rw-r--r-- | sbin/mountd/mountd.c | 10 | ||||
-rw-r--r-- | usr.bin/showmount/showmount.c | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sbin/mountd/mountd.c b/sbin/mountd/mountd.c index e6e5b2075b2..d38e4f3244c 100644 --- a/sbin/mountd/mountd.c +++ b/sbin/mountd/mountd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mountd.c,v 1.40 2001/11/17 19:54:57 deraadt Exp $ */ +/* $OpenBSD: mountd.c,v 1.41 2001/12/02 02:05:59 deraadt Exp $ */ /* $NetBSD: mountd.c,v 1.31 1996/02/18 11:57:53 fvdl Exp $ */ /* @@ -250,7 +250,7 @@ main(argc, argv) default: fprintf(stderr, "Usage: mountd [-dn] [export_file]\n"); exit(1); - }; + } argc -= optind; argv += optind; grphead = NULL; @@ -554,7 +554,7 @@ xdr_fhs(xdrsp, cp) if (!xdr_long(xdrsp, &len)) return (0); return (xdr_long(xdrsp, &auth)); - }; + } return (0); } @@ -1266,7 +1266,7 @@ chk_host(dp, saddr, defsetp, hostsetp) return (1); } break; - }; + } hp = hp->ht_next; } } @@ -1639,7 +1639,7 @@ do_mount(ep, grp, exflags, anoncrp, dirp, dirplen, fsb) if (cp) *cp = savedc; return (1); - }; + } /* * XXX: diff --git a/usr.bin/showmount/showmount.c b/usr.bin/showmount/showmount.c index 95cc5cf42ec..0410ce3683d 100644 --- a/usr.bin/showmount/showmount.c +++ b/usr.bin/showmount/showmount.c @@ -1,4 +1,4 @@ -/* $OpenBSD: showmount.c,v 1.8 2001/08/12 12:03:03 heko Exp $ */ +/* $OpenBSD: showmount.c,v 1.9 2001/12/02 02:05:59 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.8 2001/08/12 12:03:03 heko Exp $"; +static char rcsid[] = "$OpenBSD: showmount.c,v 1.9 2001/12/02 02:05:59 deraadt Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -210,7 +210,7 @@ main(argc, argv) default: printf("Hosts on %s:\n", host); break; - }; + } print_dump(mntdump); } if (rpcs & DOEXPORTS) { @@ -402,7 +402,7 @@ print_dump(mp) strvis(vn, mp->ml_host, VIS_CSTYLE); printf("%s\n", vn); break; - }; + } if (mp->ml_right) print_dump(mp->ml_right); } |