diff options
author | John Baldwin <jhb@FreeBSD.org> | 2023-04-24 15:53:49 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2023-04-24 15:53:49 +0000 |
commit | 7b043ce598649e54b9e752a670f6dd9c20391210 (patch) | |
tree | 26959b08927761117ae52c5a6a69a6e00088c558 /usr.sbin/rpc.lockd/lockd.c | |
parent | 0a04bb7a4fef8cd7277acc1490803b9939a9b1e1 (diff) | |
download | src-7b043ce598649e54b9e752a670f6dd9c20391210.tar.gz src-7b043ce598649e54b9e752a670f6dd9c20391210.zip |
Diffstat (limited to 'usr.sbin/rpc.lockd/lockd.c')
-rw-r--r-- | usr.sbin/rpc.lockd/lockd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/rpc.lockd/lockd.c b/usr.sbin/rpc.lockd/lockd.c index 24dacc81a37a..0a4832256b4e 100644 --- a/usr.sbin/rpc.lockd/lockd.c +++ b/usr.sbin/rpc.lockd/lockd.c @@ -845,7 +845,7 @@ sigalarm_handler(void) } void -usage() +usage(void) { errx(1, "usage: rpc.lockd [-d <debuglevel>]" " [-F] [-g <grace period>] [-h <bindip>] [-p <port>]"); @@ -904,7 +904,8 @@ init_nsm(void) /* * Out of memory, fatal */ -void out_of_mem() +void +out_of_mem(void) { syslog(LOG_ERR, "out of memory"); exit(2); |