summaryrefslogtreecommitdiffstats
path: root/libmount
diff options
context:
space:
mode:
authorKarel Zak2018-03-20 13:31:19 +0100
committerKarel Zak2018-03-20 13:31:19 +0100
commit83212eb3df000b26f18969f198771bd9bb39fee2 (patch)
treef64d64b8f395f655734454e175346788287c8f31 /libmount
parentlibmount: deallocate on /proc/swaps parse error (diff)
downloadkernel-qcow2-util-linux-83212eb3df000b26f18969f198771bd9bb39fee2.tar.gz
kernel-qcow2-util-linux-83212eb3df000b26f18969f198771bd9bb39fee2.tar.xz
kernel-qcow2-util-linux-83212eb3df000b26f18969f198771bd9bb39fee2.zip
libmount: fix example in docs
Addresses: https://github.com/karelzak/util-linux/issues/599 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount')
-rw-r--r--libmount/src/version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/version.c b/libmount/src/version.c
index acacf09c5..d3a981a48 100644
--- a/libmount/src/version.c
+++ b/libmount/src/version.c
@@ -86,7 +86,7 @@ int mnt_get_library_version(const char **ver_string)
* Example:
* <informalexample>
* <programlisting>
- * const char *features;
+ * const char **features;
*
* mnt_get_library_features(&features);
* while (features && *features)