X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fnfsumount.c;h=3538d88036210ee4f00f6ae67b71f3af226c76a8;hp=b846564a331e41da2c178f2cf280b84eded197ab;hb=915465b9ec98c4f392c84277c367475d0a959c06;hpb=50939ac76c8ae04dad0eb3e84b7c195aded2f5dd diff --git a/utils/mount/nfsumount.c b/utils/mount/nfsumount.c index b846564..3538d88 100644 --- a/utils/mount/nfsumount.c +++ b/utils/mount/nfsumount.c @@ -161,7 +161,8 @@ static int nfs_umount_is_vers4(const struct mntentchn *mc) goto not_found; do { - int nlen = strlen(pmc->m.mnt_fsname); + size_t nlen = strlen(pmc->m.mnt_fsname); + /* * It's possible the mount location string in /proc/mounts * ends with a '/'. In this case, if the entry came from