diff options
Diffstat (limited to 'components/datetime.c')
-rw-r--r-- | components/datetime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/datetime.c b/components/datetime.c index 12d7717..c3efae3 100644 --- a/components/datetime.c +++ b/components/datetime.c @@ -11,7 +11,7 @@ datetime(const char *fmt) t = time(NULL); if (!strftime(buf, sizeof(buf), fmt, localtime(&t))) { - fprintf(stderr, "strftime: Result string exceeds buffer size\n"); + warn("strftime: Result string exceeds buffer size"); return NULL; } |