Merge from vendor branch LIBARCHIVE:
[dragonfly.git] / sbin / dhclient / common / ctrace.c.patch
1 $DragonFly: src/sbin/dhclient/common/Attic/ctrace.c.patch,v 1.1 2006/01/18 02:33:36 dillon Exp $
2
3 Index: contrib/dhcp-3.0/common/ctrace.c
4 ===================================================================
5 RCS file: /cvs/src/contrib/dhcp-3.0/common/ctrace.c,v
6 retrieving revision 1.1
7 diff -u -r1.1 ctrace.c
8 --- ctrace.c.orig       4 Jan 2005 19:58:53 -0000       1.1
9 +++ ctrace.c            17 Jan 2006 23:26:03 -0000
10 @@ -284,7 +284,7 @@
11  {
12         u_int32_t *seed;
13  
14 -       if (length != sizeof seed) {
15 +       if (length != sizeof *seed) {
16                 log_error ("trace_seed_input: wrong size (%d)", length);
17         }
18         seed = (u_int32_t *)buf;