diff options
author | Karel Zak | 2013-08-21 16:07:51 +0200 |
---|---|---|
committer | Karel Zak | 2013-08-21 16:07:51 +0200 |
commit | 50fccba1ab7097bcb69048bbe929ab739be3fc1e (patch) | |
tree | a0682409c49b721e7dc9e3082fc92b909586f7c2 /sys-utils/mountpoint.c | |
parent | libmount: add reference counter to libmnt_table (diff) | |
download | kernel-qcow2-util-linux-50fccba1ab7097bcb69048bbe929ab739be3fc1e.tar.gz kernel-qcow2-util-linux-50fccba1ab7097bcb69048bbe929ab739be3fc1e.tar.xz kernel-qcow2-util-linux-50fccba1ab7097bcb69048bbe929ab739be3fc1e.zip |
misc: use libmnt_table reference counter
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/mountpoint.c')
-rw-r--r-- | sys-utils/mountpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/mountpoint.c b/sys-utils/mountpoint.c index 4f6dbbd3f..cba5f0125 100644 --- a/sys-utils/mountpoint.c +++ b/sys-utils/mountpoint.c @@ -91,7 +91,7 @@ static int dir_to_device(const char *spec, dev_t *dev) rc = 0; } - mnt_free_table(tb); + mnt_unref_table(tb); return rc; } |