]> git.decadent.org.uk Git - nfs-utils.git/commit
mount: Fix compiler warning in nfs_parse_retry_option()
authorChuck Lever <chuck.lever@oracle.com>
Thu, 28 Oct 2010 17:09:38 +0000 (13:09 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 1 Nov 2010 12:05:14 +0000 (08:05 -0400)
commit1f237ac72e6f563908b350e11fd2bb866c003028
treebd9fc614d2331ffed1cf5993639f23836d66d863
parent1ea2c3be33f2eb4630c5cdb78edf2bb670b294ab
mount: Fix compiler warning in nfs_parse_retry_option()

stropts.c: In function nfs_parse_retry_option:
stropts.c:131: warning: conversion to unsigned int from long int may
alter its value

Make it more clear what the second argument is for, and flag the
switch fallthrough case.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/stropts.c