Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hp300/stand/common return something



details:   https://anonhg.NetBSD.org/src/rev/e154a54abf1f
branches:  trunk
changeset: 345793:e154a54abf1f
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jun 09 03:05:54 2016 +0000

description:
return something

diffstat:

 sys/arch/hp300/stand/common/tgets.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ec027e83ee75 -r e154a54abf1f sys/arch/hp300/stand/common/tgets.c
--- a/sys/arch/hp300/stand/common/tgets.c       Thu Jun 09 00:20:53 2016 +0000
+++ b/sys/arch/hp300/stand/common/tgets.c       Thu Jun 09 03:05:54 2016 +0000
@@ -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 @@
                 if (lp - buf == size) {
                         lp--;
                         *lp = '\0';
-                        return; 
+                        return 0;
                 }
                c = tgetchar() & 0177;
                if (c) {



Home | Main Index | Thread Index | Old Index