summaryrefslogtreecommitdiff
path: root/networking/udhcp/files.c
diff options
context:
space:
mode:
authorRuss Dill2003-12-16 01:33:38 +0000
committerRuss Dill2003-12-16 01:33:38 +0000
commita3170d5aab8a13006fd707666533acab9c164831 (patch)
treea06a6ea5812a2d1152788755b042264b988e7fb2 /networking/udhcp/files.c
parent8f4312693464a266117238bade4a9c64ba1f3340 (diff)
downloadbusybox-a3170d5aab8a13006fd707666533acab9c164831.zip
busybox-a3170d5aab8a13006fd707666533acab9c164831.tar.gz
whoops
Diffstat (limited to 'networking/udhcp/files.c')
-rw-r--r--networking/udhcp/files.c2
1 files changed, 1 insertions, 1 deletions
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;