diff options
Diffstat (limited to 'sys/kern/tty_msts.c')
-rw-r--r-- | sys/kern/tty_msts.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/tty_msts.c b/sys/kern/tty_msts.c index 960d0d3515f..c00c94babd7 100644 --- a/sys/kern/tty_msts.c +++ b/sys/kern/tty_msts.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty_msts.c,v 1.13 2009/04/26 02:25:36 cnst Exp $ */ +/* $OpenBSD: tty_msts.c,v 1.14 2009/05/06 16:05:20 stevesk Exp $ */ /* * Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org> @@ -281,8 +281,7 @@ msts_decode(struct msts *np, struct tty *tp, char *fld[], int fldcnt) if (np->time.status == SENSOR_S_UNKNOWN) { np->time.status = SENSOR_S_OK; np->time.flags &= ~SENSOR_FINVALID; - if (fldcnt != 13) - strlcpy(np->time.desc, "MSTS", sizeof(np->time.desc)); + strlcpy(np->time.desc, "MSTS", sizeof(np->time.desc)); } /* * only update the timeout if the clock reports the time a valid, |