-/* $OpenBSD: cu.c,v 1.29 2023/10/02 14:48:11 krw Exp $ */
+/* $OpenBSD: cu.c,v 1.30 2023/12/21 11:25:38 jca Exp $ */
/*
* Copyright (c) 2012 Nicholas Marriott <nicm@openbsd.org>
if (names == NULL)
return NULL;
- /* names is a comma separated list of "ucom<unit#>-<usb id>". */
+ /* names is a comma separated list of "ucom<unit#>:<usb id>". */
cua = NULL;
for (ucom = strsep(&names, ","); ucom; ucom = strsep(&names, ",")) {
if (*ucom == '\0' || strncasecmp(ucom, "ucom", 4))