summaryrefslogtreecommitdiffstats
path: root/usr.bin/printf
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-05-29 19:43:43 +0000
committerpfg <pfg@FreeBSD.org>2014-05-29 19:43:43 +0000
commitc2026d6193c04696f2a210ccd5fbfb8a03002fe5 (patch)
treee94843581e2f41af078e8b9596c98dc684fb4205 /usr.bin/printf
parent91a569ad698cee8a1ff76c5d946cfca1f3012c39 (diff)
downloadFreeBSD-src-c2026d6193c04696f2a210ccd5fbfb8a03002fe5.zip
FreeBSD-src-c2026d6193c04696f2a210ccd5fbfb8a03002fe5.tar.gz
Minor style knit.
Diffstat (limited to 'usr.bin/printf')
-rw-r--r--usr.bin/printf/printf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/printf/printf.c b/usr.bin/printf/printf.c
index 5be9d05..452711e 100644
--- a/usr.bin/printf/printf.c
+++ b/usr.bin/printf/printf.c
@@ -456,8 +456,7 @@ mknum(char *str, char ch)
len = strlen(str) + 2;
if (len > copy_size) {
newlen = ((len + 1023) >> 10) << 10;
- if ((newcopy = realloc(copy, newlen)) == NULL)
- {
+ if ((newcopy = realloc(copy, newlen)) == NULL) {
warnx("%s", strerror(ENOMEM));
return (NULL);
}
OpenPOWER on IntegriCloud