From 62d9af6c618816e02407c3f14ee2d048f3030bb4 Mon Sep 17 00:00:00 2001 From: mestre Date: Sat, 25 Aug 2018 17:09:40 +0000 Subject: [PATCH] fix misplaced parenthesis inside an if-clause. already fixed in FreeBSD in rev 295608. OK jca@ --- sys/dev/usb/if_smsc.c | 4 ++-- 1 file 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; -- 2.20.1