chiark / gitweb /
get rid of udev_sysdeps.c
[elogind.git] / extras / fstab_import / fstab_import.c
index 0f4685ae2a89ce89c428b403fa85bd3df0a99314..245a72fffbc34ad4bf68da604e54d966d926a1c1 100644 (file)
@@ -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;