diff src/unexaix.c @ 282:c42ec1d1cded r21-0b39

Import from CVS: tag r21-0b39
author cvs
date Mon, 13 Aug 2007 10:33:18 +0200
parents 262b8bb4a523
children 57709be46d1b
line wrap: on
line diff
--- a/src/unexaix.c	Mon Aug 13 10:32:23 2007 +0200
+++ b/src/unexaix.c	Mon Aug 13 10:33:18 2007 +0200
@@ -609,7 +609,7 @@
 	 So write zeros for it.  */
       if (ret == -1 && errno == EFAULT)
 	{
-	  bzero (zeros, nwrite);
+	  memset (zeros, 0, nwrite);
 	  write (new, zeros, nwrite);
 	}
       else if (nwrite != ret)