summaryrefslogtreecommitdiff
path: root/lib/libc/arch/amd64/net/ntohs.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/amd64/net/ntohs.S')
-rw-r--r--lib/libc/arch/amd64/net/ntohs.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/amd64/net/ntohs.S b/lib/libc/arch/amd64/net/ntohs.S
index 6c70cc26945..3ee61fc5684 100644
--- a/lib/libc/arch/amd64/net/ntohs.S
+++ b/lib/libc/arch/amd64/net/ntohs.S
@@ -1,10 +1,10 @@
-/* $OpenBSD: ntohs.S,v 1.1 2004/01/28 01:44:45 mickey Exp $ */
+/* $OpenBSD: ntohs.S,v 1.2 2004/02/10 00:08:11 drahn Exp $ */
/* Written by Artur Grabowski. Public Domain */
#include <machine/asm.h>
-ENTRY(_C_LABEL(htonl))
+ENTRY(_C_LABEL(ntohs))
movl %edi,%eax
xchgb %ah,%al
ret