kernel: Add three missing ')', two of them in (yet) unused code.
authorSascha Wildner <saw@online.de>
Mon, 26 Aug 2013 18:51:02 +0000 (20:51 +0200)
committerSascha Wildner <saw@online.de>
Mon, 26 Aug 2013 18:51:02 +0000 (20:51 +0200)
sys/dev/powermng/viapm/viapm.c
sys/dev/raid/mly/mly.c
sys/netgraph7/netflow/netflow.c

index e0fd7ec..e0d0cc5 100644 (file)
@@ -454,7 +454,7 @@ viapm_pro_detach(device_t dev)
 
 #ifdef notyet
        if ((error = bus_release_resource(dev, SYS_RES_IRQ,
-                                       viapm->irqrid, viapm->irqres))
+                                       viapm->irqrid, viapm->irqres)))
                return (error);
 #endif
 
index 0842d61..5d4ed32 100644 (file)
@@ -2649,8 +2649,8 @@ mly_print_packet(struct mly_command *mc)
     case MDACMD_SCSIPT:
     case MDACMD_SCSI:
        mly_printf(sc, "   cdb length           %d\n", ss->cdb_length);
-       mly_printf(sc, "   cdb                  %s\n", hexncpy(ss->cdb, ss->cdb_length,
-               hexstr, HEX_NCPYLEN(ss->cdb_length), " ");
+       mly_printf(sc, "   cdb                  %s\n",
+           hexncpy(ss->cdb, ss->cdb_length, hexstr, HEX_NCPYLEN(ss->cdb_length), " "));
        transfer = 1;
        break;
     case MDACMD_SCSILC:
index 9741951..a0aa4dc 100644 (file)
@@ -556,7 +556,7 @@ ng_netflow_flow_show(priv_p priv, uint32_t last, struct ng_mesg *resp)
                        continue;
 
                TAILQ_FOREACH(fle, &hsh->head, fle_hash) {
-                       if (mtx_contested(&hsh->mtx)
+                       if (mtx_contested(&hsh->mtx))
                                break;
 
                        bcopy(&fle->f, &(data->entries[data->nentries]),