Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/memswitch Fix typo. display.contrast is 0-15, not ...



details:   https://anonhg.NetBSD.org/src/rev/a323549f207d
branches:  trunk
changeset: 340632:a323549f207d
user:      isaki <isaki%NetBSD.org@localhost>
date:      Mon Sep 21 08:04:43 2015 +0000

description:
Fix typo.  display.contrast is 0-15, not 0-1.

diffstat:

 usr.sbin/memswitch/properties.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 71546ce0828f -r a323549f207d usr.sbin/memswitch/properties.c
--- a/usr.sbin/memswitch/properties.c   Mon Sep 21 06:05:00 2015 +0000
+++ b/usr.sbin/memswitch/properties.c   Mon Sep 21 08:04:43 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: properties.c,v 1.4 2008/04/28 20:24:17 martin Exp $    */
+/*     $NetBSD: properties.c,v 1.5 2015/09/21 08:04:43 isaki Exp $     */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -120,7 +120,7 @@
        {
                "display", "contrast",
                40, 1, 0, {byte:{[0] 0}}, 0, {byte:{[0] 0}}, {byte:{[0] 14}},
-               parse_uchar, 0, 1,
+               parse_uchar, 0, 15,
                print_uchar,
                fill_uchar, flush_uchar,
                " Display contrast (0-15).\n"



Home | Main Index | Thread Index | Old Index