Module Name: src Committed By: mbalmer Date: Sat Nov 12 15:44:36 UTC 2011
Modified Files: src/usr.sbin/gpioctl: gpioctl.c Log Message: Fix typo. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 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.16 src/usr.sbin/gpioctl/gpioctl.c:1.17 --- src/usr.sbin/gpioctl/gpioctl.c:1.16 Mon Oct 3 11:16:48 2011 +++ src/usr.sbin/gpioctl/gpioctl.c Sat Nov 12 15:44:36 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: gpioctl.c,v 1.16 2011/10/03 11:16:48 mbalmer Exp $ */ +/* $NetBSD: gpioctl.c,v 1.17 2011/11/12 15:44:36 mbalmer Exp $ */ /* * Copyright (c) 2008, 2010, 2011 Marc Balmer <mbal...@netbsd.org> @@ -330,10 +330,10 @@ gpiopulse(int pin, char *gp_name, double return; if (gp_name) - printf("pin %s: pulse at %.f Hz with a %.f%% duty cylce\n", + printf("pin %s: pulse at %.f Hz with a %.f%% duty cyclce\n", gp_name, freq, dc); else - printf("pin %d: pulse at %.f Hz with a %.f%% duty cylce\n", + printf("pin %d: pulse at %.f Hz with a %.f%% duty cyclce\n", pin, freq, dc); }