diff options
author | Ricardo Mestre <mestre@cvs.openbsd.org> | 2018-08-25 17:09:41 +0000 |
---|---|---|
committer | Ricardo Mestre <mestre@cvs.openbsd.org> | 2018-08-25 17:09:41 +0000 |
commit | e4c48ed9bc793af4cde3936d99ecf7af0a462f5b (patch) | |
tree | cd119c615e7481d393db2b878ce15418ee6e6a2f /sys | |
parent | 2cf40e2f79f861083b96ac3a27f78a4a93dd1f2e (diff) |
fix misplaced parenthesis inside an if-clause. already fixed in FreeBSD in rev
295608.
OK jca@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/if_smsc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_smsc.c b/sys/dev/usb/if_smsc.c index 06457428058..d1508b0f29d 100644 --- a/sys/dev/usb/if_smsc.c +++ b/sys/dev/usb/if_smsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_smsc.c,v 1.31 2017/07/29 17:24:04 kettenis Exp $ */ +/* $OpenBSD: if_smsc.c,v 1.32 2018/08/25 17:09:40 mestre Exp $ */ /* $FreeBSD: src/sys/dev/usb/net/if_smsc.c,v 1.1 2012/08/15 04:03:55 gonzo Exp $ */ /*- * Copyright (c) 2012 @@ -774,7 +774,7 @@ smsc_chip_init(struct smsc_softc *sc) smsc_write_reg(sc, SMSC_PM_CTRL, SMSC_PM_CTRL_PHY_RST); if ((err = smsc_wait_for_bits(sc, SMSC_PM_CTRL, - SMSC_PM_CTRL_PHY_RST) != 0)) { + SMSC_PM_CTRL_PHY_RST)) != 0) { smsc_warn_printf(sc, "timed-out waiting for phy reset to " "complete\n"); goto init_failed; |