summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/mountP.h
diff options
context:
space:
mode:
authorKarel Zak2010-10-18 14:19:21 +0200
committerKarel Zak2011-01-03 12:28:45 +0100
commitc3b0d5b37b64fb7c259f92e103fd73bdea6807fe (patch)
treedb5422745f82d71123d37cac0321cc6c78ad0430 /shlibs/mount/src/mountP.h
parenttests: add libmount optstr.c tests (diff)
downloadkernel-qcow2-util-linux-c3b0d5b37b64fb7c259f92e103fd73bdea6807fe.tar.gz
kernel-qcow2-util-linux-c3b0d5b37b64fb7c259f92e103fd73bdea6807fe.tar.xz
kernel-qcow2-util-linux-c3b0d5b37b64fb7c259f92e103fd73bdea6807fe.zip
libmount: cleanup fstab parser, improve mnt_tab errcb usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/mountP.h')
-rw-r--r--shlibs/mount/src/mountP.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/shlibs/mount/src/mountP.h b/shlibs/mount/src/mountP.h
index 7d66f0ba9..2a4187583 100644
--- a/shlibs/mount/src/mountP.h
+++ b/shlibs/mount/src/mountP.h
@@ -195,8 +195,7 @@ struct _mnt_tab {
mnt_cache *cache; /* canonicalized paths/tags cache */
- int (*errcb)(mnt_tab *tb, const char *filename,
- int line, int flag);
+ int (*errcb)(mnt_tab *tb, const char *filename, int line);
struct list_head ents; /* list of entries (mentry) */
};