kern/subr_firmware.c: Oops, forgot a {
authorSascha Wildner <saw@online.de>
Sun, 25 Apr 2010 23:54:22 +0000 (01:54 +0200)
committerSascha Wildner <saw@online.de>
Sun, 25 Apr 2010 23:54:22 +0000 (01:54 +0200)
sys/kern/subr_firmware.c

index c88b3db..a83b443 100644 (file)
@@ -320,7 +320,7 @@ firmware_get(const char *imagename)
         * Image not present, try to load the module holding it.
         */
        td = curthread;
-       if (priv_check(td, PRIV_FIRMWARE_LOAD) != 0 || securelevel > 0)
+       if (priv_check(td, PRIV_FIRMWARE_LOAD) != 0 || securelevel > 0) {
                lockmgr(&firmware_lock, LK_RELEASE);
                kprintf("%s: insufficient privileges to "
                    "load firmware image %s\n", __func__, imagename);