[ARM] remove memzero()
[safe/jmp/linux-2.6] / arch / arm / include / asm / uaccess.h
index e98ec60..cbb7a37 100644 (file)
@@ -400,7 +400,7 @@ static inline unsigned long __must_check copy_from_user(void *to, const void __u
        if (access_ok(VERIFY_READ, from, n))
                n = __copy_from_user(to, from, n);
        else /* security hole - plug it */
-               memzero(to, n);
+               memset(to, 0, n);
        return n;
 }