diff options
author | Scott Mayhew <smayhew@redhat.com> | 2019-12-09 10:43:19 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2019-12-09 10:45:40 -0500 |
commit | dc50aaf0e958983ce04337a93e505706ab9aa3d3 (patch) | |
tree | afef861c49e8f6299f56ce2b0e104887888ead8e | |
parent | 56a7f1e1be915ffd5b1ee4f61c2b96a60aae6f34 (diff) | |
download | nfs-utils-dc50aaf0e958983ce04337a93e505706ab9aa3d3.tar.gz |
nfsdcld: getopt_long() returns an int, not a char
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>
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | utils/nfsdcld/nfsdcld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/nfsdcld/nfsdcld.c b/utils/nfsdcld/nfsdcld.c index 9297df51..2ad10019 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; |