From 84415d172a4c4d42654ef1a39e9e3926cf3b22b8 Mon Sep 17 00:00:00 2001 From: Tianjia Zhang Date: Mon, 22 Apr 2024 14:01:25 +0800 Subject: [PATCH] libmount: fix comment typo for mnt_fs_get_comment() Signed-off-by: Tianjia Zhang (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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmount/src/fs.c b/libmount/src/fs.c index 79e32a1..26f2c69 100644 --- 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) { -- 2.30.2