Module Name:    src
Committed By:   ryo
Date:           Thu Oct 12 05:51:51 UTC 2017

Modified Files:
        src/lib/libc/arch/aarch64/sys: cerror.S

Log Message:
return 0xffffffffffffffff (= -1). not 0x00000000ffffffff.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/arch/aarch64/sys/cerror.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/arch/aarch64/sys/cerror.S
diff -u src/lib/libc/arch/aarch64/sys/cerror.S:1.1 src/lib/libc/arch/aarch64/sys/cerror.S:1.2
--- src/lib/libc/arch/aarch64/sys/cerror.S:1.1	Sun Aug 10 05:47:37 2014
+++ src/lib/libc/arch/aarch64/sys/cerror.S	Thu Oct 12 05:51:51 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: cerror.S,v 1.1 2014/08/10 05:47:37 matt Exp $ */
+/* $NetBSD: cerror.S,v 1.2 2017/10/12 05:51:51 ryo Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@ ENTRY_NP(__cerror)
 	bl	_C_LABEL(__errno)
 	str	w19, [x0]
 	ldp	x19, x30, [sp], #16
-	mvn	w0,wzr
+	mvn	x0, xzr
 	ret
 	.cfi_endproc
 END(__cerror)

Reply via email to