diff options
author | 2014-03-21 21:54:14 +0000 | |
---|---|---|
committer | 2014-03-21 21:54:14 +0000 | |
commit | e51cf79326de0b2bc85de5dfbe08a7a03bfd7249 (patch) | |
tree | 6ac8a31bfe29b59352b7f6076dc590b1c25a14ca | |
parent | Rename the symbolic constants for the pmap-specific vm_pag pg_flags from (diff) | |
download | wireguard-openbsd-e51cf79326de0b2bc85de5dfbe08a7a03bfd7249.tar.xz wireguard-openbsd-e51cf79326de0b2bc85de5dfbe08a7a03bfd7249.zip |
Fix missing brackets: longitude/latitude status set to critical every time
nmea_timeout() is triggered introduced in rev 1.37.
ok sthen@
-rw-r--r-- | sys/kern/tty_nmea.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/tty_nmea.c b/sys/kern/tty_nmea.c index 395d85a5ad2..4b0c84926f8 100644 --- a/sys/kern/tty_nmea.c +++ b/sys/kern/tty_nmea.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty_nmea.c,v 1.40 2014/03/21 21:46:47 andre Exp $ */ +/* $OpenBSD: tty_nmea.c,v 1.41 2014/03/21 21:54:14 andre Exp $ */ /* * Copyright (c) 2006, 2007, 2008 Marc Balmer <mbalmer@openbsd.org> @@ -554,8 +554,9 @@ nmea_timeout(void *xnp) * sentences are received. */ timeout_add_sec(&np->nmea_tout, TRUSTTIME); - } else + } else { np->time.status = SENSOR_S_CRIT; np->latitude.status = SENSOR_S_CRIT; np->longitude.status = SENSOR_S_CRIT; + } } |