diff options
-rw-r--r-- | lib/dpif-linux.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dpif-linux.c b/lib/dpif-linux.c index 2bf329f45..9a7231387 100644 --- a/lib/dpif-linux.c +++ b/lib/dpif-linux.c @@ -661,6 +661,8 @@ get_major(const char *target) } } + fclose(file); + VLOG_ERR("%s: %s major not found (is the module loaded?)", fn, target); return -ENODEV; } |