chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
No need to canonicalize fixed paths
[elogind.git]
/
src
/
network
/
networkd-network.c
diff --git
a/src/network/networkd-network.c
b/src/network/networkd-network.c
index 0326fe675bae06e3c11fae58142cd7abd80d44e7..1606042264b584758f9a7cd7b80076d17c1acc4b 100644
(file)
--- a/
src/network/networkd-network.c
+++ b/
src/network/networkd-network.c
@@
-112,7
+112,7
@@
int network_load(Manager *manager) {
while ((network = manager->networks))
network_free(network);
while ((network = manager->networks))
network_free(network);
- r = conf_files_list_strv(&files, ".network", NULL,
(const char **)manager->
network_dirs);
+ r = conf_files_list_strv(&files, ".network", NULL, network_dirs);
if (r < 0) {
log_error("Failed to enumerate network files: %s", strerror(-r));
return r;
if (r < 0) {
log_error("Failed to enumerate network files: %s", strerror(-r));
return r;