Michael Fritch has uploaded this change for review.

View Change

ganesha-rados-grace: use int type for getopt retval

the implicit conversion of a -1 retval from getopt is interpreted as a
value of 255 on an aarch64 platform, which then causes the default case
of the switch statement to always print a usage message and exit.

Signed-off-by: Michael Fritch <mfritch@suse.com>
Change-Id: I21caf0c4882d3c9b821836c000c1645287b9ba5c
---
M src/tools/ganesha-rados-grace.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/21/527221/1

To view, visit change 527221. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I21caf0c4882d3c9b821836c000c1645287b9ba5c
Gerrit-Change-Number: 527221
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Fritch <mfritch@suse.com>
Gerrit-MessageType: newchange