diff --git a/usr.sbin/gpioctl/Makefile b/usr.sbin/gpioctl/Makefile index 5053ef9b3e49..c49f92eab4eb 100644 --- a/usr.sbin/gpioctl/Makefile +++ b/usr.sbin/gpioctl/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.1 2005/09/27 02:54:27 jmcneill Exp $ +# $NetBSD: Makefile,v 1.2 2008/01/09 15:57:06 xtraeme Exp $ PROG= gpioctl SRCS= gpioctl.c MAN= gpioctl.8 +WARNS= 4 .include diff --git a/usr.sbin/gpioctl/gpioctl.c b/usr.sbin/gpioctl/gpioctl.c index ebae7dd1c116..cc4c7b46b31c 100644 --- a/usr.sbin/gpioctl/gpioctl.c +++ b/usr.sbin/gpioctl/gpioctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: gpioctl.c,v 1.2 2008/01/09 15:56:27 xtraeme Exp $ */ +/* $NetBSD: gpioctl.c,v 1.3 2008/01/09 15:57:06 xtraeme Exp $ */ /* $OpenBSD: gpioctl.c,v 1.2 2004/08/08 00:05:09 deraadt Exp $ */ /* * Copyright (c) 2004 Alexander Yurchenko @@ -33,7 +33,7 @@ #define _PATH_DEV_GPIO "/dev/gpio0" -char *device = _PATH_DEV_GPIO; +const char *device = _PATH_DEV_GPIO; int devfd = -1; int quiet = 0;