aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2000-07-14 01:22:07 +0000
committerPeter Wemm <peter@FreeBSD.org>2000-07-14 01:22:07 +0000
commit43be5ea431d5e72a9dd4e9337a907e765ce43306 (patch)
treee8affbaee741507fa8c94d69e4292be13e3e0388 /usr.sbin
parent4944b913118d8239b7308473dd78f0fe159356e6 (diff)
Notes
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/usbd/usbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/usbd/usbd.c b/usr.sbin/usbd/usbd.c
index 11139c104e1b..d63ceef1531e 100644
--- a/usr.sbin/usbd/usbd.c
+++ b/usr.sbin/usbd/usbd.c
@@ -385,7 +385,7 @@ set_devname_field(action_t *action, char *args, char **trail)
bcopy(action->devname, string+7, len); /* make some space for */
bcopy("[[:<:]]", string, 7); /* beginning of word */
- bcopy("[[:>:]]", string+7+len, 8); /* and end of word */
+ bcopy("[[:>:]]", string+7+len, 7); /* and end of word */
string[len + 14] = '\0';
error = regcomp(&action->devname_regex, string, REG_NOSUB|REG_EXTENDED);