Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/samsung Fix typo



details:   https://anonhg.NetBSD.org/src/rev/512db7ec2a0a
branches:  trunk
changeset: 329142:512db7ec2a0a
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Sat May 10 21:46:15 2014 +0000

description:
Fix typo

diffstat:

 sys/arch/arm/samsung/exynos_gpio.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 9ebc1679abea -r 512db7ec2a0a sys/arch/arm/samsung/exynos_gpio.c
--- a/sys/arch/arm/samsung/exynos_gpio.c        Sat May 10 21:10:27 2014 +0000
+++ b/sys/arch/arm/samsung/exynos_gpio.c        Sat May 10 21:46:15 2014 +0000
@@ -32,7 +32,7 @@
 #include "gpio.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: exynos_gpio.c,v 1.2 2014/05/10 19:31:00 reinoud Exp $");
+__KERNEL_RCSID(1, "$NetBSD: exynos_gpio.c,v 1.3 2014/05/10 21:46:15 reinoud Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -603,7 +603,7 @@
                return false;
 
        KASSERT(strlen(pin_data) < 10);
-       if (!(pin_data[0] == '>' || pin_data[1] == '<')) {
+       if (!(pin_data[0] == '>' || pin_data[0] == '<')) {
                printf("%s: malformed pin data in '%s', missing direction\n",
                        __func__, pin_data);
                return false;



Home | Main Index | Thread Index | Old Index