aboutsummaryrefslogtreecommitdiffstats
path: root/libmount/src
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2025-06-30 11:15:30 +0200
committerKarel Zak <kzak@redhat.com>2025-06-30 11:21:06 +0200
commitd42e5e4bc355277b820d98768e2fda52e2d08e76 (patch)
treea557e44e6f7d10c6979e5172292744fcf01472c5 /libmount/src
parentc128ee3ea488174230065f6a35286e01e98996f8 (diff)
downloadutil-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.c2
-rw-r--r--libmount/src/tab.c4
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);
}
/**