diff options
| author | Karel Zak <kzak@redhat.com> | 2025-06-30 11:15:30 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2025-06-30 11:21:06 +0200 |
| commit | d42e5e4bc355277b820d98768e2fda52e2d08e76 (patch) | |
| tree | a557e44e6f7d10c6979e5172292744fcf01472c5 /libmount/src | |
| parent | c128ee3ea488174230065f6a35286e01e98996f8 (diff) | |
| download | util-linux-d42e5e4bc355277b820d98768e2fda52e2d08e76.tar.gz | |
lib/strutils: add ul_ prefix to strappend() functions
Addresses: https://github.com/util-linux/util-linux/issues/3626
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src')
| -rw-r--r-- | libmount/src/fs.c | 2 | ||||
| -rw-r--r-- | libmount/src/tab.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libmount/src/fs.c b/libmount/src/fs.c index c01c313b11..64c7ee865c 100644 --- a/libmount/src/fs.c +++ b/libmount/src/fs.c @@ -1668,7 +1668,7 @@ int mnt_fs_append_comment(struct libmnt_fs *fs, const char *comm) if (!fs) return -EINVAL; - return strappend(&fs->comment, comm); + return ul_strappend(&fs->comment, comm); } /** diff --git a/libmount/src/tab.c b/libmount/src/tab.c index bde55b73d7..4209d697a5 100644 --- a/libmount/src/tab.c +++ b/libmount/src/tab.c @@ -318,7 +318,7 @@ int mnt_table_append_intro_comment(struct libmnt_table *tb, const char *comm) { if (!tb) return -EINVAL; - return strappend(&tb->comm_intro, comm); + return ul_strappend(&tb->comm_intro, comm); } /** @@ -359,7 +359,7 @@ int mnt_table_append_trailing_comment(struct libmnt_table *tb, const char *comm) { if (!tb) return -EINVAL; - return strappend(&tb->comm_tail, comm); + return ul_strappend(&tb->comm_tail, comm); } /** |
