Mop up more test regressions

This commit is contained in:
Justine Tunney 2023-05-13 01:09:44 -07:00
parent 4a8a81eb9f
commit 802e7eb4ef
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
6 changed files with 14 additions and 13 deletions

View file

@ -87,7 +87,7 @@ static void getopt_print_badch(const char *s) {
strlcat(b1, s, sizeof(b1));
b2[4] = optopt;
b2[5] = '\n';
b2[5] = 0;
b2[6] = 0;
strlcat(b1, b2, sizeof(b1));
write(2, b1, strlen(b1));
}