Module Name:    src
Committed By:   christos
Date:           Thu Jun  9 03:05:54 UTC 2016

Modified Files:
        src/sys/arch/hp300/stand/common: tgets.c

Log Message:
return something


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/hp300/stand/common/tgets.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/arch/hp300/stand/common/tgets.c
diff -u src/sys/arch/hp300/stand/common/tgets.c:1.6 src/sys/arch/hp300/stand/common/tgets.c:1.7
--- src/sys/arch/hp300/stand/common/tgets.c:1.6	Sun Jun  5 13:43:02 2016
+++ src/sys/arch/hp300/stand/common/tgets.c	Wed Jun  8 23:05:54 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: tgets.c,v 1.6 2016/06/05 17:43:02 christos Exp $	*/
+/*	$NetBSD: tgets.c,v 1.7 2016/06/09 03:05:54 christos Exp $	*/
 
 /*-
  * Copyright (c) 1993
@@ -48,7 +48,7 @@ tgets_s(char *buf, size_t size)
                 if (lp - buf == size) {
                         lp--;
                         *lp = '\0';
-                        return; 
+                        return 0;
                 }
 		c = tgetchar() & 0177;
 		if (c) {

Reply via email to