diff options
Diffstat (limited to 'src/network/networkd-bridge.c')
-rw-r--r-- | src/network/networkd-bridge.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/networkd-bridge.c b/src/network/networkd-bridge.c index 2c541463ec..ed0d692992 100644 --- a/src/network/networkd-bridge.c +++ b/src/network/networkd-bridge.c @@ -246,6 +246,9 @@ static int bridge_load_one(Manager *manager, const char *filename) { _cleanup_fclose_ FILE *file = NULL; int r; + assert(manager); + assert(filename); + file = fopen(filename, "re"); if (!file) { if (errno == ENOENT) |