summaryrefslogtreecommitdiffstats
path: root/debian/patches/upstream/libmount-fix-comment-typo-for-mnt_fs_get_comment.patch
blob: 27f886710e9112edffce77c825ddbe1915789e9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Date: Mon, 22 Apr 2024 14:01:25 +0800
Subject: libmount: fix comment typo for mnt_fs_get_comment()

Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
(cherry picked from commit c630dbc38f7cd1f838e65e2c43d8375bce1ec20f)
---
 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)
 {