diff options
author | svn2git <svn2git@FreeBSD.org> | 1994-07-01 08:00:00 +0000 |
---|---|---|
committer | svn2git <svn2git@FreeBSD.org> | 1994-07-01 08:00:00 +0000 |
commit | 5e0e9b99dc3fc0ecd49d929db0d57c784b66f481 (patch) | |
tree | e779b5a6edddbb949b7990751b12d6f25304ba86 /lib/libc/string | |
parent | a16f65c7d117419bd266c28a1901ef129a337569 (diff) |
Diffstat (limited to 'lib/libc/string')
-rw-r--r-- | lib/libc/string/index.3 | 2 | ||||
-rw-r--r-- | lib/libc/string/strftime.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/string/index.3 b/lib/libc/string/index.3 index 12ca7112a4028..f387409fc51fb 100644 --- a/lib/libc/string/index.3 +++ b/lib/libc/string/index.3 @@ -54,7 +54,7 @@ locates the first character matching in the null-terminated string .Fa s . .Sh RETURN VALUES -The character +The location of the character .Fa c is returned if it is found; otherwise .Dv NULL diff --git a/lib/libc/string/strftime.c b/lib/libc/string/strftime.c index 16879d2568214..99c68f9b31e21 100644 --- a/lib/libc/string/strftime.c +++ b/lib/libc/string/strftime.c @@ -196,6 +196,7 @@ _fmt(format, t) case 'R': if (!_fmt("%H:%M", t)) return(0); + continue; case 'r': if (!_fmt(t_fmt_ampm, t)) return(0); |