X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fdpif-linux.c;h=1eaba744903b9357b5b7cb15b0f7933568554ca3;hb=c6278d208924bb04c41266ddca276712f95533bc;hp=4c34325651fdd6efef0594b876ebb9699324d5c9;hpb=c69ee87c10818267f991236201150b1fa51ae519;p=openvswitch diff --git a/lib/dpif-linux.c b/lib/dpif-linux.c index 4c343256..1eaba744 100644 --- a/lib/dpif-linux.c +++ b/lib/dpif-linux.c @@ -677,6 +677,8 @@ get_major(const char *target) } } + fclose(file); + VLOG_ERR("%s: %s major not found (is the module loaded?)", fn, target); return -ENODEV; }