summaryrefslogtreecommitdiff
path: root/pfinet/glue-include/asm
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/glue-include/asm')
-rw-r--r--pfinet/glue-include/asm/uaccess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/glue-include/asm/uaccess.h b/pfinet/glue-include/asm/uaccess.h
index 6f6dc413..752c61c0 100644
--- a/pfinet/glue-include/asm/uaccess.h
+++ b/pfinet/glue-include/asm/uaccess.h
@@ -43,7 +43,7 @@ struct __large_struct { unsigned long buf[100]; };
#define copy_to_user(to,from,n) (memcpy ((to), (from), (n)), 0)
#define copy_from_user(to,from,n) (memcpy ((to), (from), (n)), 0)
-#define clear_user(mem, len) (bzero ((mem), (len)), 0)
+#define clear_user(mem, len) (memset ((mem), 0, (len)), 0)
#define copy_to_user_ret(to,from,n,retval) ({ if (copy_to_user(to,from,n)) return retval; })