From a3170d5aab8a13006fd707666533acab9c164831 Mon Sep 17 00:00:00 2001 From: Russ Dill Date: Tue, 16 Dec 2003 01:33:38 +0000 Subject: whoops --- networking/udhcp/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/udhcp') diff --git a/networking/udhcp/files.c b/networking/udhcp/files.c index e200246..f6003ff 100644 --- a/networking/udhcp/files.c +++ b/networking/udhcp/files.c @@ -248,7 +248,7 @@ void write_leases(void) else leases[i].expires -= curr; } /* else stick with the time we got */ leases[i].expires = htonl(leases[i].expires); - fwrite(leases[i], sizeof(sturct dhcpOfferedAddr), 1, fp); + fwrite(&leases[i], sizeof(struct dhcpOfferedAddr), 1, fp); /* Then restore it when done. */ leases[i].expires = tmp_time; -- cgit v1.1