Minor style knit.
This commit is contained in:
parent
b437b06c79
commit
ea1a630ade
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=266853
@ -456,8 +456,7 @@ mknum(char *str, char ch)
|
|||||||
len = strlen(str) + 2;
|
len = strlen(str) + 2;
|
||||||
if (len > copy_size) {
|
if (len > copy_size) {
|
||||||
newlen = ((len + 1023) >> 10) << 10;
|
newlen = ((len + 1023) >> 10) << 10;
|
||||||
if ((newcopy = realloc(copy, newlen)) == NULL)
|
if ((newcopy = realloc(copy, newlen)) == NULL) {
|
||||||
{
|
|
||||||
warnx("%s", strerror(ENOMEM));
|
warnx("%s", strerror(ENOMEM));
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user