X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fmount%2Fnfsumount.c;h=3538d88036210ee4f00f6ae67b71f3af226c76a8;hb=d3143a07f71a7177aca9391dcf50be46ef9d5eea;hp=b846564a331e41da2c178f2cf280b84eded197ab;hpb=938636c5545c8c42add2a0cf07b7d133dff1816f;p=nfs-utils.git 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