git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
alpha: strncpy/strncat fixes
[safe/jmp/linux-2.6]
/
arch
/
alpha
/
lib
/
strncpy.S
diff --git
a/arch/alpha/lib/strncpy.S
b/arch/alpha/lib/strncpy.S
index
bbdef1b
..
a46f7f3
100644
(file)
--- 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)