summaryrefslogtreecommitdiff
path: root/extras/fstab_import/fstab_import.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-10 18:24:39 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-10 18:24:39 +0200
commit75250977137c26f706fc1514aca7982107859b1c (patch)
treeffda94d4c88b4ce6a39003384df7af00933fb21c /extras/fstab_import/fstab_import.c
parent3eb46ec6ddeb31d9886ebb736d1d7b3534d2f354 (diff)
extras: use libudev code
Diffstat (limited to 'extras/fstab_import/fstab_import.c')
-rw-r--r--extras/fstab_import/fstab_import.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/fstab_import/fstab_import.c b/extras/fstab_import/fstab_import.c
index 0f4685ae2a..245a72fffb 100644
--- a/extras/fstab_import/fstab_import.c
+++ b/extras/fstab_import/fstab_import.c
@@ -146,7 +146,7 @@ int main(int argc, char *argv[])
if (label[0] == '"' || label[0] == '\'') {
char *pos;
- strlcpy(str, &label[1], sizeof(str));
+ util_strlcpy(str, &label[1], sizeof(str));
pos = strrchr(str, label[0]);
if (pos == NULL)
continue;
@@ -170,7 +170,7 @@ int main(int argc, char *argv[])
if (uuid[0] == '"' || uuid[0] == '\'') {
char *pos;
- strlcpy(str, &uuid[1], sizeof(str));
+ util_strlcpy(str, &uuid[1], sizeof(str));
pos = strrchr(str, uuid[0]);
if (pos == NULL)
continue;