mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
This commit was generated by cvs2svn to compensate for changes in r59901,
which included commits to RCS files with non-trunk default branches.
This commit is contained in:
commit
2f5118d33b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=59902
@ -222,7 +222,7 @@ tprintf(what, buf, fmt, siz, str, tim, info)
|
||||
fmthist('R', info, (char *) (cz = cbuff), sizeof(cbuff));
|
||||
else
|
||||
cz = (unsigned char *) str;
|
||||
if (str != NULL)
|
||||
if (cz != NULL)
|
||||
for (; *cz; *p++ = attributes | *cz++)
|
||||
if (p >= ep) break;
|
||||
break;
|
||||
@ -477,7 +477,7 @@ tprintf(what, buf, fmt, siz, str, tim, info)
|
||||
case 'w':
|
||||
if (p >= ep - 5) break;
|
||||
for (cz = (unsigned char *) month_list[t->tm_mon]; *cz;
|
||||
*p++ = attributes | *cz++);
|
||||
*p++ = attributes | *cz++)
|
||||
if (p >= ep) break;
|
||||
break;
|
||||
case 'W':
|
||||
|
Loading…
Reference in New Issue
Block a user