Module Name:    src
Committed By:   knakahara
Date:           Wed Dec 13 00:31:46 UTC 2017

Modified Files:
        src/sys/dev/isa: wbsio.c

Log Message:
Improve the error log message to use product name. Implemeted by 
s-yamaguchi@IIJ, reviewed by msaitoh@n.o.

I just commit by proxy.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/isa/wbsio.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/isa/wbsio.c
diff -u src/sys/dev/isa/wbsio.c:1.19 src/sys/dev/isa/wbsio.c:1.20
--- src/sys/dev/isa/wbsio.c:1.19	Wed Dec 13 00:29:02 2017
+++ src/sys/dev/isa/wbsio.c	Wed Dec 13 00:31:46 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: wbsio.c,v 1.19 2017/12/13 00:29:02 knakahara Exp $	*/
+/*	$NetBSD: wbsio.c,v 1.20 2017/12/13 00:31:46 knakahara Exp $	*/
 /*	$OpenBSD: wbsio.c,v 1.10 2015/03/14 03:38:47 jsg Exp $	*/
 /*
  * Copyright (c) 2008 Mark Kettenis <kette...@openbsd.org>
@@ -470,7 +470,8 @@ wbsio_gpio_search(device_t parent, cfdat
 		sc->sc_gpio_rt = true;
 		break;
 	default:
-		aprint_error_dev(parent, "GPIO is not supported\n");
+		aprint_error_dev(parent, "%s's GPIO is not supported yet\n",
+		    product->str);
 		return -1;
 	}
 

Reply via email to