summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/mptable/mptable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mptable/mptable.c b/usr.sbin/mptable/mptable.c
index fcc12c0..2c29934 100644
--- a/usr.sbin/mptable/mptable.c
+++ b/usr.sbin/mptable/mptable.c
@@ -402,7 +402,7 @@ MPFloatingPointer( u_int32_t paddr, int where, mpfps_t* mpfpsp )
mpfps_t mpfps;
/* map in mpfps structure*/
- *mpfpsp = mpfps = mapEntry( paddr, sizeof( mpfps ) );
+ *mpfpsp = mpfps = mapEntry( paddr, sizeof( *mpfps ) );
/* show its contents */
printf( "MP Floating Pointer Structure:\n\n" );
OpenPOWER on IntegriCloud