summaryrefslogtreecommitdiffstats
path: root/c/src/exec
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-30 16:48:40 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-30 16:48:40 +0000
commitd74daf9d451b0f6e4db31308bf42bd5e25ae5f42 (patch)
tree5f29fc9432e2fa699900da7caf943783ee3bde21 /c/src/exec
parentChanged default target architecture name (diff)
downloadrtems-d74daf9d451b0f6e4db31308bf42bd5e25ae5f42.tar.bz2
Fixed case where wrong variable was used.
Diffstat (limited to 'c/src/exec')
-rw-r--r--c/src/exec/score/cpu/i386/i386.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/score/cpu/i386/i386.h b/c/src/exec/score/cpu/i386/i386.h
index 692c1538b7..5495023a50 100644
--- a/c/src/exec/score/cpu/i386/i386.h
+++ b/c/src/exec/score/cpu/i386/i386.h
@@ -190,7 +190,7 @@ static inline unsigned int i386_swap_U32(
"rorl $16,%0;"
"rorw $8,%%ax" : "=a" (lout) : "0" (value) );
#else
- __asm__ volatile( "bswap %0" : "=r" (lout) : "0" (lin));
+ __asm__ volatile( "bswap %0" : "=r" (lout) : "0" (value));
#endif
return( lout );
}