[git commit] libc: sh: fixed typo in ucontext header
Carmelo Amoroso
carmelo.amoroso at st.com
Wed Jun 13 22:36:03 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=dc631e1281177736ee7b39f2d67ca84f8db0e483
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Fixed typo in ucontext header, NFPREG wrongly defined twice instead of
NGREG for general registers and NFPREG for floating point register.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono at st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>
---
libc/sysdeps/linux/sh/sys/ucontext.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libc/sysdeps/linux/sh/sys/ucontext.h b/libc/sysdeps/linux/sh/sys/ucontext.h
index 4ed2484..acf5ba7 100644
--- a/libc/sysdeps/linux/sh/sys/ucontext.h
+++ b/libc/sysdeps/linux/sh/sys/ucontext.h
@@ -32,10 +32,10 @@
typedef int greg_t;
/* Number of general registers. */
-#define NFPREG 16
+#define NGREG 16
/* Container for all general registers. */
-typedef greg_t gregset_t[NFPREG];
+typedef greg_t gregset_t[NGREG];
#ifdef __USE_GNU
/* Number of each register is the `gregset_t' array. */
More information about the uClibc-cvs
mailing list