diff options
author | Karel Zak <kzak@redhat.com> | 2010-06-21 22:47:48 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2011-01-03 12:28:39 +0100 |
commit | 911238af459a224a24d6a7e11222e0788afd99fa (patch) | |
tree | 24748cc58f740e80f51d2f6dace45d617c40be68 /misc-utils | |
parent | 9fd75d76cc383eaa4c01e57293bfecbb76ee3d8a (diff) | |
download | util-linux-old-911238af459a224a24d6a7e11222e0788afd99fa.tar.gz |
libmount: remove mnt_tab_strerr()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils')
-rw-r--r-- | misc-utils/findmnt.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/misc-utils/findmnt.c b/misc-utils/findmnt.c index 2b3a50b3..1754da1d 100644 --- a/misc-utils/findmnt.c +++ b/misc-utils/findmnt.c @@ -321,12 +321,6 @@ static mnt_tab *parse_tabfile(const char *path) warn(_("can't read: %s"), path); return NULL; } - if (mnt_tab_get_nerrs(tb)) { - char buf[BUFSIZ]; - mnt_tab_strerror(tb, buf, sizeof(buf)); - warnx(_("%s: parse error: %s"), path, buf); - } - return tb; } |