diff options
author | charnier <charnier@FreeBSD.org> | 2002-10-16 16:04:50 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2002-10-16 16:04:50 +0000 |
commit | de3f4fb0c591dff2b2d0df380ab15815456c28dd (patch) | |
tree | bd1b2c0cc266c01a7f34718486b9633cb8522f31 /usr.sbin | |
parent | b5f1c32484809b16201c6f811dfec57d6e9e7ba7 (diff) | |
download | FreeBSD-src-de3f4fb0c591dff2b2d0df380ab15815456c28dd.zip FreeBSD-src-de3f4fb0c591dff2b2d0df380ab15815456c28dd.tar.gz |
s/rpc.mountd/mountd/
Add FBSDID
Reorder #if/#endif around sccsid to conform style(9)
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/mountd/mountd.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c index e3868b9..d24c2a8 100644 --- a/usr.sbin/mountd/mountd.c +++ b/usr.sbin/mountd/mountd.c @@ -40,13 +40,14 @@ static const char copyright[] = The Regents of the University of California. All rights reserved.\n"; #endif /*not lint*/ -#ifndef lint #if 0 +#ifndef lint static char sccsid[] = "@(#)mountd.c 8.15 (Berkeley) 5/1/95"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /*not lint*/ +#endif + +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/mount.h> @@ -283,7 +284,7 @@ main(argc, argv) err(1, "%s", MOUNTDLOCK); if(flock(mountdlockfd, LOCK_EX|LOCK_NB) == -1 && errno == EWOULDBLOCK) - errx(1, "another rpc.mountd is already running. Aborting"); + errx(1, "another mountd is already running. Aborting"); s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); if (s < 0) have_v6 = 0; |