Module Name: src
Committed By: isaki
Date: Mon Sep 21 08:04:43 UTC 2015
Modified Files:
src/usr.sbin/memswitch: properties.c
Log Message:
Fix typo. display.contrast is 0-15, not 0-1.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/memswitch/properties.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/memswitch/properties.c
diff -u src/usr.sbin/memswitch/properties.c:1.4 src/usr.sbin/memswitch/properties.c:1.5
--- src/usr.sbin/memswitch/properties.c:1.4 Mon Apr 28 20:24:17 2008
+++ src/usr.sbin/memswitch/properties.c Mon Sep 21 08:04:43 2015
@@ -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 @@ struct property properties[] = {
{
"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"