From Ian Lance Taylor <ian@airs.com>:
* hw_nvram.c (hw_nvram_init_address): Correct call to memset--swap
second and third arguments.
+2003-06-21 Andrew Cagney <cagney@redhat.com>
+
+ From Ian Lance Taylor <ian@airs.com>:
+ * hw_nvram.c (hw_nvram_init_address): Correct call to memset--swap
+ second and third arguments.
+
2003-06-21 Andrew Cagney <cagney@redhat.com>
* hw_com.c (hw_com_device_init_data): Check that the output, and
nvram->memory = zalloc(nvram->sizeof_memory);
}
else
- memset(nvram->memory, nvram->sizeof_memory, 0);
+ memset(nvram->memory, 0, nvram->sizeof_memory);
if (device_find_property(me, "timezone") == NULL)
nvram->timezone = 0;