summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-06-29 16:26:01 +0000
committerJim Meyering <jim@meyering.net>2005-06-29 16:26:01 +0000
commitfd98517183ca2c17b87cc881db5d143f7498d70d (patch)
tree9a1442afba3e985bb050a720e0f8f8f0f0a7246f /src
parent9bdffe1137ee26fd50733c2818861b385720318a (diff)
downloadcoreutils-fd98517183ca2c17b87cc881db5d143f7498d70d.tar.xz
(show_date): Use X2REALLOC rather than x2realloc.
Diffstat (limited to 'src')
-rw-r--r--src/date.c2
-rw-r--r--src/du.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/date.c b/src/date.c
index 14f5b6ff4..9bc24b4bc 100644
--- a/src/date.c
+++ b/src/date.c
@@ -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
diff --git a/src/du.c b/src/du.c
index a8e978e29..b6fc5add9 100644
--- 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