From 31b8c4eaf0f78bae53f7860093425afacaf218c4 Mon Sep 17 00:00:00 2001 From: job Date: Thu, 30 Jun 2022 07:55:48 +0000 Subject: [PATCH] Fix err() OK claudio@ --- usr.bin/ts/ts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/ts/ts.c b/usr.bin/ts/ts.c index 6f0e7be3fab..1ab2813973a 100644 --- a/usr.bin/ts/ts.c +++ b/usr.bin/ts/ts.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ts.c,v 1.3 2022/06/30 07:42:50 claudio Exp $ */ +/* $OpenBSD: ts.c,v 1.4 2022/06/30 07:55:48 job Exp $ */ /* * Copyright (c) 2022 Job Snijders * Copyright (c) 2022 Claudio Jeker @@ -107,7 +107,7 @@ main(int argc, char *argv[]) if (iflag) clock_gettime(clock, &start); if ((tm = localtime(&now.tv_sec)) == NULL) - err(1, "localtime/gmtime"); + err(1, "localtime"); fmtfmt(tm, now.tv_nsec); } if (putchar(ch) == EOF) -- 2.20.1