summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-03-04 13:03:59 +0100
committerJim Meyering <jim@meyering.net>2007-03-04 13:03:59 +0100
commitb7a568ece8e9ae81e1fc444fb1ceb222c9940ea3 (patch)
tree40c27b025b0b0bab76e51cefe68f37bc83af1daf /lib
parent2871ad3b45ed1b1f44be57fd453cf9a50a4c5af7 (diff)
downloadcoreutils-b7a568ece8e9ae81e1fc444fb1ceb222c9940ea3.tar.xz
* vasnprintf.c (VASNPRINTF): Add missing semicolon.
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog4
-rw-r--r--lib/vasnprintf.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 391e6b170..49c0e93c8 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,7 @@
+2007-03-04 Jim Meyering <jim@meyering.net>
+
+ * vasnprintf.c (VASNPRINTF): Add missing semicolon.
+
2007-03-02 Jim Meyering <jim@meyering.net>
* vasnprintf.c (VASNPRINTF): Remove cast of alloca return value.
diff --git a/lib/vasnprintf.c b/lib/vasnprintf.c
index 567a67457..8be7ac480 100644
--- a/lib/vasnprintf.c
+++ b/lib/vasnprintf.c
@@ -469,7 +469,7 @@ VASNPRINTF (CHAR_T *resultbuf, size_t *lengthp, const CHAR_T *format, va_list ar
if (tmp_length < precision)
tmp_length = precision;
/* Account for sign, decimal point etc. */
- tmp_length += 12
+ tmp_length += 12;
if (tmp_length < 12)
goto out_of_memory;
break;