diff options
author | LaMont Jones <lamont@debian.org> | 2009-12-06 17:30:27 -0700 |
---|---|---|
committer | LaMont Jones <lamont@debian.org> | 2009-12-06 17:30:27 -0700 |
commit | 937e1026f121ab19404c5ce63fca9523005f641c (patch) | |
tree | 6bec4b2b3021a94aa3267c37933261c0b4c471e0 /lib | |
parent | ca775dc7217c10ed13758513e9f82c8403afb442 (diff) | |
parent | efc729f2b880b31482c92be157754a00d7c6176d (diff) | |
download | util-linux-old-937e1026f121ab19404c5ce63fca9523005f641c.tar.gz |
Merge remote branch 'origin/stable/v2.16' into stable/v2.16
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ismounted.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/ismounted.c b/lib/ismounted.c index 28ae3252..fbe91f9a 100644 --- a/lib/ismounted.c +++ b/lib/ismounted.c @@ -70,9 +70,6 @@ static int check_mntent_file(const char *mtab_file, const char *file, char buf[1024], *device = 0, *mnt_dir = 0, *cp; *mount_flags = 0; - if ((f = fopen(mtab_file, "r")) == NULL) - return errno; - if ((f = setmntent (mtab_file, "r")) == NULL) return errno; if (stat(file, &st_buf) == 0) { |