From 84b563f6c651d078d14b80ff666f03e7120fc660 Mon Sep 17 00:00:00 2001 From: jung Date: Sat, 10 Oct 2015 11:57:20 +0000 Subject: [PATCH] fix wrong brackets in if statement --- sys/dev/isa/asmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/isa/asmc.c b/sys/dev/isa/asmc.c index 1ca71dfa59d..40c7258803d 100644 --- a/sys/dev/isa/asmc.c +++ b/sys/dev/isa/asmc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asmc.c,v 1.8 2015/10/04 20:00:50 jung Exp $ */ +/* $OpenBSD: asmc.c,v 1.9 2015/10/10 11:57:20 jung Exp $ */ /* * Copyright (c) 2015 Joerg Jung * @@ -467,7 +467,7 @@ asmc_lights(struct asmc_softc *sc, uint8_t *n) s = 0; snprintf(key, sizeof(key), "ALV%d", i); if (asmc_try(sc, ASMC_READ, key, buf, 6) && - (s = asmc_status(sc) != ASMC_NOTFOUND)) { + (s = asmc_status(sc)) != ASMC_NOTFOUND) { printf(", read %s failed (0x%x)", key, s); return 1; } -- 2.20.1