From eb8d2e123d109ac84230c8491f3b80f6d71a1dfd Mon Sep 17 00:00:00 2001 From: Eric van Gyzen Date: Mon, 10 Jul 2023 15:03:39 -0500 Subject: [PATCH] dhclient: fix build on i386 Only i386 still uses a 32-bit time_t. I knew this, and I still failed to compile-test on i386. My bad. Reported by: cy Fixes: c210cac00f258 ("dhclient: fix time parsing for leases...") Sponsored by: Dell EMC Isilon --- sbin/dhclient/tests/option-domain-search.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sbin/dhclient/tests/option-domain-search.c b/sbin/dhclient/tests/option-domain-search.c index a3517c9c1dc..22a7998575a 100644 --- a/sbin/dhclient/tests/option-domain-search.c +++ b/sbin/dhclient/tests/option-domain-search.c @@ -343,7 +343,9 @@ parse_date_valid(void) abort(); parse_date_helper(" 2 2024/7/2 20:25:50;\n", 1719951950); +#ifndef __i386__ parse_date_helper(" 1 2091/7/2 20:25:50;\n", 3834246350); +#endif } int