diff options
author | Marc Balmer <mbalmer@cvs.openbsd.org> | 2008-11-30 10:58:45 +0000 |
---|---|---|
committer | Marc Balmer <mbalmer@cvs.openbsd.org> | 2008-11-30 10:58:45 +0000 |
commit | c2610f19c3aedb9c41b38983e51fbce1a8a73845 (patch) | |
tree | d8454c6c0e44505f5c0b58d428faea834b71663f | |
parent | 0865b4ee32451455dc4f6f3df10dfa0054b52edc (diff) |
Fix output.
-rw-r--r-- | usr.sbin/gpioctl/gpioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/gpioctl/gpioctl.c b/usr.sbin/gpioctl/gpioctl.c index 0868460989c..9cee06d7301 100644 --- a/usr.sbin/gpioctl/gpioctl.c +++ b/usr.sbin/gpioctl/gpioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gpioctl.c,v 1.12 2008/11/29 09:19:25 mbalmer Exp $ */ +/* $OpenBSD: gpioctl.c,v 1.13 2008/11/30 10:58:44 mbalmer Exp $ */ /* * Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org> * Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org> @@ -95,7 +95,7 @@ main(int argc, char *argv[]) dev = argv[0]; if (strncmp(_PATH_DEV, dev, sizeof(_PATH_DEV) - 1)) { - (void)snprintf(devn, sizeof(devn), "%s/%s", _PATH_DEV, dev); + (void)snprintf(devn, sizeof(devn), "%s%s", _PATH_DEV, dev); dev = devn; } |