diff options
author | charnier <charnier@FreeBSD.org> | 1997-11-26 07:31:14 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 1997-11-26 07:31:14 +0000 |
commit | 0a4b753b280853b41f27d7b886c691c71ede39b2 (patch) | |
tree | 6ef599c7f16c334b1b9c4186de2532ee04af1a93 /libexec/rpc.rquotad/rquotad.c | |
parent | d61a5ed6ec4eb9415ad5282fbe01ebd444314594 (diff) | |
download | FreeBSD-src-0a4b753b280853b41f27d7b886c691c71ede39b2.zip FreeBSD-src-0a4b753b280853b41f27d7b886c691c71ede39b2.tar.gz |
Cosmetics in man page. Add rcsid and sort #includes.
Diffstat (limited to 'libexec/rpc.rquotad/rquotad.c')
-rw-r--r-- | libexec/rpc.rquotad/rquotad.c | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/libexec/rpc.rquotad/rquotad.c b/libexec/rpc.rquotad/rquotad.c index 33fa420..926d300 100644 --- a/libexec/rpc.rquotad/rquotad.c +++ b/libexec/rpc.rquotad/rquotad.c @@ -4,6 +4,11 @@ * There is no copyright, you can use it as you want. */ +#ifndef lint +static const char rcsid[] = + "$Id$"; +#endif /* not lint */ + #include <sys/param.h> #include <sys/types.h> #include <sys/mount.h> @@ -12,15 +17,15 @@ #include <sys/socket.h> #include <signal.h> -#include <stdio.h> -#include <fstab.h> #include <ctype.h> +#include <errno.h> +#include <fstab.h> +#include <grp.h> +#include <pwd.h> +#include <stdio.h> #include <stdlib.h> -#include <unistd.h> #include <string.h> -#include <pwd.h> -#include <grp.h> -#include <errno.h> +#include <unistd.h> #include <syslog.h> #include <varargs.h> @@ -92,11 +97,11 @@ main(argc, argv) /* create and register the service */ transp = svcudp_create(sock); if (transp == NULL) { - syslog(LOG_ERR, "couldn't create udp service."); + syslog(LOG_ERR, "couldn't create udp service"); exit(1); } if (!svc_register(transp, RQUOTAPROG, RQUOTAVERS, rquota_service, proto)) { - syslog(LOG_ERR, "unable to register (RQUOTAPROG, RQUOTAVERS, %s).", proto?"udp":"(inetd)"); + syslog(LOG_ERR, "unable to register (RQUOTAPROG, RQUOTAVERS, %s)", proto?"udp":"(inetd)"); exit(1); } |