Module Name:    src
Committed By:   mrg
Date:           Sun Feb  3 12:18:21 UTC 2019

Modified Files:
        src/sys/dev/i2c: si70xx.c

Log Message:
add missing break.

fairly sure this is correct, otherwise modelstr would be overwritten
with the next entry in this list..


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/si70xx.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/i2c/si70xx.c
diff -u src/sys/dev/i2c/si70xx.c:1.4 src/sys/dev/i2c/si70xx.c:1.5
--- src/sys/dev/i2c/si70xx.c:1.4	Sat Jun 16 21:22:13 2018
+++ src/sys/dev/i2c/si70xx.c	Sun Feb  3 12:18:21 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: si70xx.c,v 1.4 2018/06/16 21:22:13 thorpej Exp $	*/
+/*	$NetBSD: si70xx.c,v 1.5 2019/02/03 12:18:21 mrg Exp $	*/
 
 /*
  * Copyright (c) 2017 Brad Spencer <[email protected]>
@@ -17,7 +17,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: si70xx.c,v 1.4 2018/06/16 21:22:13 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: si70xx.c,v 1.5 2019/02/03 12:18:21 mrg Exp $");
 
 /*
   Driver for the Silicon Labs SI7013/SI7020/SI7021
@@ -746,6 +746,7 @@ si70xx_attach(device_t parent, device_t 
 	case 0:
 	case 0xff:
 		snprintf(modelstr, sizeof(modelstr), "Engineering Sample");
+		break;
 	case 13:
 	case 20:
 	case 21:

Reply via email to