Change in ...nfs-ganesha[next]: ganesha-rados-grace: use int type for getopt retval
Michael Fritch has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/527221 ) Change subject: ganesha-rados-grace: use int type for getopt retval ...................................................................... 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 https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/527221 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/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
participants (1)
-
Michael Fritch (GerritHub)