Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 039ebccdc6d12969198660ec3b411eb1 > files > 5

hfsplusutils-1.0.4-15.fc15.src.rpm

--- hfsplus-1.0.4/libhfsp/src/record.c~	2002-03-17 17:20:01.000000000 +0000
+++ hfsplus-1.0.4/libhfsp/src/record.c	2007-08-22 14:31:26.000000000 +0100
@@ -654,7 +654,7 @@ int record_init_string(record* r, UInt16
     hfsp_cat_entry* entry = &r->record;
     UInt16	    ptype = parent->record.type;
 
-    memset(r, sizeof(record), 0);   // **** Debugging only
+    memset(r, 0, sizeof(record));   // **** Debugging only
 
     r->tree	    = parent->tree;
     r->node_index   = 0;