]> git.decadent.org.uk Git - nfs-utils.git/commit
umount.nfs: Use correct data type in nfsumount()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 14 Jul 2009 20:57:07 +0000 (16:57 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 14 Jul 2009 20:57:07 +0000 (16:57 -0400)
commit6e3fa0e103a494a37cf3a4f9199516923928ab31
treeb5c2301d7e9c8499c21b85afeed5c83659305659
parentc27bf85f0bd41015352468f35dfbf0d431d1e4c5
umount.nfs: Use correct data type in nfsumount()

Address compiler warning:

    nfsumount.c: In function nfsumount:
    nfsumount.c:347: warning: comparison between signed and unsigned

The result type of pointer arithmetic and the return type of strlen(3)
are both size_t.

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