Skip to content

Commit

Permalink
kernel: Add three missing ')', two of them in (yet) unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Wildner committed Aug 26, 2013
1 parent 0213188 commit 338366e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sys/dev/powermng/viapm/viapm.c
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions sys/dev/raid/mly/mly.c
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion sys/netgraph7/netflow/netflow.c
Expand Up @@ -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]),
Expand Down

0 comments on commit 338366e

Please sign in to comment.