summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-03-16 18:26:37 +1100
committerNeil Brown <neilb@suse.de>2007-03-16 18:26:37 +1100
commita64b65aac7af65f96a24cd89fc07a31dbb5980ab (patch)
tree4e073cd23713829f0a3548f8bc4ddcbb651255fe /utils
parentae5ec51e0ddc99dc5552e51bd5c095084dbb61aa (diff)
downloadnfs-utils-a64b65aac7af65f96a24cd89fc07a31dbb5980ab.tar.gz
nfs-utils-a64b65aac7af65f96a24cd89fc07a31dbb5980ab.tar.xz
nfs-utils-a64b65aac7af65f96a24cd89fc07a31dbb5980ab.zip
Remove nfs_mntent_t in favour of struct mntent
They are identical and the later allows us to use hasmntent.
Diffstat (limited to 'utils')
-rw-r--r--utils/mount/nfsumount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/mount/nfsumount.c b/utils/mount/nfsumount.c
index 4208ade..eb3d1fb 100644
--- a/utils/mount/nfsumount.c
+++ b/utils/mount/nfsumount.c
@@ -147,7 +147,7 @@ int del_mtab(const char *spec, const char *node)
res = mount(spec, node, NULL,
MS_MGC_VAL | MS_REMOUNT | MS_RDONLY, NULL);
if (res == 0) {
- nfs_mntent_t remnt;
+ struct mntent remnt;
fprintf(stderr,
_("umount: %s busy - remounted read-only\n"),
spec);