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 | bd22d268d36c94d3806890a0713697ccd1e1f796 (patch) | |
tree | b14795f39382327fbbdd9d61024765d13c28fb9e | |
parent | 7b043ce598649e54b9e752a670f6dd9c20391210 (diff) | |
download | src-bd22d268d36c94d3806890a0713697ccd1e1f796.tar.gz src-bd22d268d36c94d3806890a0713697ccd1e1f796.zip |
rpc.umntall: Use valid prototype for function declaration with no arguments.
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D39728
-rw-r--r-- | usr.sbin/rpc.umntall/rpc.umntall.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/rpc.umntall/rpc.umntall.c b/usr.sbin/rpc.umntall/rpc.umntall.c index 74df093e6d18..1ee5c6a7eb41 100644 --- a/usr.sbin/rpc.umntall/rpc.umntall.c +++ b/usr.sbin/rpc.umntall/rpc.umntall.c @@ -261,7 +261,8 @@ xdr_dir(XDR *xdrsp, char *dirp) { } static void -usage() { +usage(void) +{ (void)fprintf(stderr, "%s\n", "usage: rpc.umntall [-kv] [-e expire] [-h host] [-p path]"); exit(1); |