diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-11-10 03:57:26 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-11-10 03:57:26 +0000 |
commit | a74ec5d820be9a59a733f16717e723a65474f122 (patch) | |
tree | f24228f0bbe8388c4cffd6d92e919803c8108337 /sys/dev | |
parent | d6defc354e008432157da094af320e76418eccb8 (diff) |
fix logic.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pcmcia/gpr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pcmcia/gpr.c b/sys/dev/pcmcia/gpr.c index 730e03797db..de96d1f9722 100644 --- a/sys/dev/pcmcia/gpr.c +++ b/sys/dev/pcmcia/gpr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gpr.c,v 1.7 2002/09/25 19:09:02 fgsch Exp $ */ +/* $OpenBSD: gpr.c,v 1.8 2002/11/10 03:57:25 fgsch Exp $ */ /* * Copyright (c) 2002, Federico G. Schwindt @@ -389,7 +389,7 @@ tlvput(struct gpr_softc *sc, int cmd, u_int8_t *data, int len) n = min(resid, 28); resid -= n; - if (n) + if (resid) cmd |= GPR400_CONT; else cmd &= ~GPR400_CONT; |