Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/gpioctl Fix pasto for GPIO_PIN_EVENTS/GPIO_PIN_LEVE...



details:   https://anonhg.NetBSD.org/src/rev/189f02bf712b
branches:  trunk
changeset: 344580:189f02bf712b
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Tue Apr 05 10:58:04 2016 +0000

description:
Fix pasto for GPIO_PIN_EVENTS/GPIO_PIN_LEVEL/GPIO_PIN_FALLING
(not used at this time)

diffstat:

 usr.sbin/gpioctl/gpioctl.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r b956a0873375 -r 189f02bf712b usr.sbin/gpioctl/gpioctl.c
--- a/usr.sbin/gpioctl/gpioctl.c        Tue Apr 05 10:53:16 2016 +0000
+++ b/usr.sbin/gpioctl/gpioctl.c        Tue Apr 05 10:58:04 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gpioctl.c,v 1.22 2015/12/06 07:31:28 mlelstv Exp $ */
+/* $NetBSD: gpioctl.c,v 1.23 2016/04/05 10:58:04 bouyer Exp $ */
 
 /*
  * Copyright (c) 2008, 2010, 2011, 2013 Marc Balmer <mbalmer%NetBSD.org@localhost>
@@ -72,9 +72,9 @@
        { GPIO_PIN_ALT5, "alt5" },
        { GPIO_PIN_ALT6, "alt6" },
        { GPIO_PIN_ALT7, "alt7" },
-       { GPIO_PIN_ALT7, "events" },
-       { GPIO_PIN_ALT7, "level" },
-       { GPIO_PIN_ALT7, "falling" },
+       { GPIO_PIN_EVENTS, "events" },
+       { GPIO_PIN_LEVEL, "level" },
+       { GPIO_PIN_FALLING, "falling" },
        { GPIO_PIN_USER, "user" },
        { 0, NULL },
 };



Home | Main Index | Thread Index | Old Index