(show_date): Use X2REALLOC rather than x2realloc.
authorJim Meyering <jim@meyering.net>
Wed, 29 Jun 2005 16:26:01 +0000 (16:26 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 29 Jun 2005 16:26:01 +0000 (16:26 +0000)
src/date.c
src/du.c

index 14f5b6f..9bc24b4 100644 (file)
@@ -532,7 +532,7 @@ show_date (const char *format, struct timespec when)
   while (1)
     {
       bool done;
-      out = x2realloc (out, &out_length);
+      out = X2REALLOC (out, &out_length);
 
       /* Mark the first byte of the buffer so we can detect the case
         of nstrftime producing an empty string.  Otherwise, this loop
index a8e978e..b6fc5ad 100644 (file)
--- a/src/du.c
+++ b/src/du.c
@@ -430,7 +430,7 @@ show_date (const char *format, time_t when, int nsec)
 
   do
     {
-      out = x2realloc (out, &out_length);
+      out = X2REALLOC (out, &out_length);
 
       /* Mark the first byte of the buffer so we can detect the case
          of nstrftime producing an empty string.  Otherwise, this loop