projects
/
util-linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46579fe
)
libmount: fix comment typo for mnt_fs_get_comment()
author
Tianjia Zhang
<tianjia.zhang@linux.alibaba.com>
Mon, 22 Apr 2024 06:01:25 +0000
(14:01 +0800)
committer
Chris Hofstaedtler
<zeha@debian.org>
Sat, 27 Apr 2024 12:23:31 +0000
(14:23 +0200)
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
(cherry picked from commit
c630dbc38f7cd1f838e65e2c43d8375bce1ec20f
)
Gbp-Pq: Topic upstream
Gbp-Pq: Name libmount-fix-comment-typo-for-mnt_fs_get_comment.patch
libmount/src/fs.c
patch
|
blob
|
history
diff --git
a/libmount/src/fs.c
b/libmount/src/fs.c
index 79e32a170d4955188b0b49a1048dbab01a1cd43d..26f2c69e90a36d0727805c45720c8f40afd51b98 100644
(file)
--- a/
libmount/src/fs.c
+++ b/
libmount/src/fs.c
@@
-1454,7
+1454,7
@@
int mnt_fs_get_attribute(struct libmnt_fs *fs, const char *name,
* mnt_fs_get_comment:
* @fs: fstab/mtab/mountinfo entry pointer
*
- * Returns:
0 on success, 1 when not found the @name or negative number in case of error.
+ * Returns:
comment string
*/
const char *mnt_fs_get_comment(struct libmnt_fs *fs)
{