summaryrefslogtreecommitdiffstats
path: root/arch/alpha/lib/strncpy.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/lib/strncpy.S')
-rw-r--r--arch/alpha/lib/strncpy.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/lib/strncpy.S b/arch/alpha/lib/strncpy.S
index bbdef1be5f9..a46f7f3ad8c 100644
--- a/arch/alpha/lib/strncpy.S
+++ b/arch/alpha/lib/strncpy.S
@@ -35,7 +35,7 @@ strncpy:
or $3, $24, $3 # clear the bits between the last
or $4, $27, $4 # written byte and the last byte in COUNT
- andnot $4, $3, $4
+ andnot $3, $4, $4
zap $1, $4, $1
stq_u $1, 0($16)