diff options
Diffstat (limited to 'debian/patches/upstream/libmount-fix-comment-typo-for-mnt_fs_get_comment.patch')
-rw-r--r-- | debian/patches/upstream/libmount-fix-comment-typo-for-mnt_fs_get_comment.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/upstream/libmount-fix-comment-typo-for-mnt_fs_get_comment.patch b/debian/patches/upstream/libmount-fix-comment-typo-for-mnt_fs_get_comment.patch new file mode 100644 index 0000000..27f8867 --- /dev/null +++ b/debian/patches/upstream/libmount-fix-comment-typo-for-mnt_fs_get_comment.patch @@ -0,0 +1,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) + { |