From 11f70bf3c4649ba73fe1a581e9f928b8cd648df6 Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 20 Nov 2025 11:01:29 +0000 Subject: [PATCH] finger: const char *t, *tzn: avoids compiler warnings with time.h r1.33 ok jca millert --- usr.bin/finger/lprint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/finger/lprint.c b/usr.bin/finger/lprint.c index 03de1aa5cf3..0155b408b44 100644 --- a/usr.bin/finger/lprint.c +++ b/usr.bin/finger/lprint.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lprint.c,v 1.13 2018/04/26 12:42:51 guenther Exp $ */ +/* $OpenBSD: lprint.c,v 1.14 2025/11/20 11:01:29 tb Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. @@ -72,7 +72,7 @@ lprint(PERSON *pn) int cpr, len, maxlen; struct tm *tp; int oddfield; - char *t, *tzn; + const char *t, *tzn; cpr = 0; /*