Module Name: src
Committed By: bouyer
Date: Tue Apr 5 10:58:04 UTC 2016
Modified Files:
src/usr.sbin/gpioctl: gpioctl.c
Log Message:
Fix pasto for GPIO_PIN_EVENTS/GPIO_PIN_LEVEL/GPIO_PIN_FALLING
(not used at this time)
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/gpioctl/gpioctl.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/gpioctl/gpioctl.c
diff -u src/usr.sbin/gpioctl/gpioctl.c:1.22 src/usr.sbin/gpioctl/gpioctl.c:1.23
--- src/usr.sbin/gpioctl/gpioctl.c:1.22 Sun Dec 6 07:31:28 2015
+++ src/usr.sbin/gpioctl/gpioctl.c Tue Apr 5 10:58:04 2016
@@ -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 <[email protected]>
@@ -72,9 +72,9 @@ static const struct bitstr {
{ 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 },
};