diff options
Diffstat (limited to 'usr.bin/tset/map.c')
-rw-r--r-- | usr.bin/tset/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tset/map.c b/usr.bin/tset/map.c index 18ee135..8de594f 100644 --- a/usr.bin/tset/map.c +++ b/usr.bin/tset/map.c @@ -132,7 +132,7 @@ next: if (*arg == ':') { goto badmopt; ++arg; } else { /* Optional baudrate. */ - arg = index(p = arg, ':'); + arg = strchr(p = arg, ':'); if (arg == NULL) goto badmopt; *arg++ = '\0'; |