summaryrefslogtreecommitdiff
path: root/tz/date.c
diff options
context:
space:
mode:
Diffstat (limited to 'tz/date.c')
-rw-r--r--tz/date.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tz/date.c b/tz/date.c
index ef4e4d4..b04d3f2 100644
--- a/tz/date.c
+++ b/tz/date.c
@@ -92,7 +92,7 @@ main(const int argc, char *argv[])
}
rflag = true;
errno = 0;
- secs = strtoimax (optarg, &endarg, 0);
+ secs = strtoimax(optarg, &endarg, 0);
if (*endarg || optarg == endarg)
errno = EINVAL;
else if (! (TIME_T_MIN <= secs && secs <= TIME_T_MAX))
@@ -138,7 +138,7 @@ dogmt(void)
continue;
fakeenv = malloc((n + 2) * sizeof *fakeenv);
if (fakeenv == NULL) {
- perror(_("Memory exhausted"));
+ fprintf(stderr, _("date: Memory exhausted\n"));
errensure();
exit(retval);
}