Module Name:    src
Committed By:   jakllsch
Date:           Tue Dec 11 14:49:27 UTC 2018

Modified Files:
        src/sys/dev/usb: ucom.c

Log Message:
restore error reporting in ucomparam() lost in 1.115


To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 src/sys/dev/usb/ucom.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/usb/ucom.c
diff -u src/sys/dev/usb/ucom.c:1.120 src/sys/dev/usb/ucom.c:1.121
--- src/sys/dev/usb/ucom.c:1.120	Sun Jan 21 13:57:12 2018
+++ src/sys/dev/usb/ucom.c	Tue Dec 11 14:49:27 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: ucom.c,v 1.120 2018/01/21 13:57:12 skrll Exp $	*/
+/*	$NetBSD: ucom.c,v 1.121 2018/12/11 14:49:27 jakllsch Exp $	*/
 
 /*
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.120 2018/01/21 13:57:12 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.121 2018/12/11 14:49:27 jakllsch Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1250,7 +1250,7 @@ out:
 
 	mutex_exit(&sc->sc_lock);
 
-	return 0;
+	return error;
 }
 
 static int

Reply via email to