diff options
author | Neil Brown <neilb@suse.de> | 2007-03-16 18:26:37 +1100 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-03-16 18:26:37 +1100 |
commit | a64b65aac7af65f96a24cd89fc07a31dbb5980ab (patch) | |
tree | 4e073cd23713829f0a3548f8bc4ddcbb651255fe /support/nfs/fstab.c | |
parent | ae5ec51e0ddc99dc5552e51bd5c095084dbb61aa (diff) | |
download | nfs-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 'support/nfs/fstab.c')
-rw-r--r-- | support/nfs/fstab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/nfs/fstab.c b/support/nfs/fstab.c index ba7e580..c900f3c 100644 --- a/support/nfs/fstab.c +++ b/support/nfs/fstab.c @@ -124,7 +124,7 @@ discard_mntentchn(struct mntentchn *mc0) { static void read_mntentchn(mntFILE *mfp, const char *fnam, struct mntentchn *mc0) { struct mntentchn *mc = mc0; - nfs_mntent_t *mnt; + struct mntent *mnt; while ((mnt = nfs_getmntent(mfp)) != NULL) { if (!streq(mnt->mnt_type, MNTTYPE_IGNORE)) { @@ -444,7 +444,7 @@ lock_mtab (void) { */ void -update_mtab (const char *dir, nfs_mntent_t *instead) { +update_mtab (const char *dir, struct mntent *instead) { mntFILE *mfp, *mftmp; const char *fnam = MOUNTED; struct mntentchn mtabhead; /* dummy */ |