summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/tab_update.c
diff options
context:
space:
mode:
authorKarel Zak2011-04-26 16:32:09 +0200
committerKarel Zak2011-04-26 16:32:09 +0200
commitf12aac6e3e440166917092a83cd76a6300077abd (patch)
treef02dfd7065e77b1e3554860f0c615514b3a73e02 /shlibs/mount/src/tab_update.c
parentbuild-sys: non-linux fixup (diff)
downloadkernel-qcow2-util-linux-f12aac6e3e440166917092a83cd76a6300077abd.tar.gz
kernel-qcow2-util-linux-f12aac6e3e440166917092a83cd76a6300077abd.tar.xz
kernel-qcow2-util-linux-f12aac6e3e440166917092a83cd76a6300077abd.zip
libmount: support NULL source path for mnt_table_find_* functions
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/tab_update.c')
-rw-r--r--shlibs/mount/src/tab_update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shlibs/mount/src/tab_update.c b/shlibs/mount/src/tab_update.c
index d51464184..5abb566b5 100644
--- a/shlibs/mount/src/tab_update.c
+++ b/shlibs/mount/src/tab_update.c
@@ -153,7 +153,7 @@ int mnt_update_is_ready(struct libmnt_update *upd)
* mnt_update_set_fs:
* @upd: update handler
* @mountflags: MS_* flags
- * @target: umount target, must be num for mount
+ * @target: umount target, must be NULL for mount
* @fs: mount filesystem description, must be NULL for umount
*
* Returns: <0 in case on error, 0 on success, 1 if update is unnecessary.