diff mbox series

[nfs-utils,3/3] nfsdcld: getopt_long() returns an int, not a char

Message ID 20191126154718.22645-4-smayhew@redhat.com (mailing list archive)
State New, archived
Headers show
Series A few small nfsdcld fixes | expand

Commit Message

Scott Mayhew Nov. 26, 2019, 3:47 p.m. UTC
This was causing nfsdcld to spit out a usage message instead of starting
up on non-x86_64 arches.

Signed-off-by: Scott Mayhew <smayhew@redhat.com>
---
 utils/nfsdcld/nfsdcld.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/utils/nfsdcld/nfsdcld.c b/utils/nfsdcld/nfsdcld.c
index 9297df5..2ad1001 100644
--- a/utils/nfsdcld/nfsdcld.c
+++ b/utils/nfsdcld/nfsdcld.c
@@ -737,7 +737,7 @@  out:
 int
 main(int argc, char **argv)
 {
-	char arg;
+	int arg;
 	int rc = 0;
 	bool foreground = false;
 	char *progname;