[rtems commit] spsize/size.c: Fix typo.

Joel Sherrill joel at rtems.org
Thu Jan 9 15:44:34 UTC 2014


Module:    rtems
Branch:    master
Commit:    05b3db65f933cd4f58e62e62d26c264d693a12a1
Changeset: http://git.rtems.org/rtems/commit/?id=05b3db65f933cd4f58e62e62d26c264d693a12a1

Author:    HailinGuo <hazirguo at gmail.com>
Date:      Thu Jan  9 09:50:18 2014 -0600

spsize/size.c: Fix typo.

>From pull request at https://github.com/hazirguo/rtems/commit/fc07a4c501ffebe406464eb9b8dd2097adfd5e60

---

 testsuites/sptests/spsize/size.c |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c
index 8e837d1..f204c05 100644
--- a/testsuites/sptests/spsize/size.c
+++ b/testsuites/sptests/spsize/size.c
@@ -1,8 +1,12 @@
-/*
+/**
+ *  @file
+ *
  *  This program is run to determine the data space and work space
  *  requirements of the current version of RTEMS.
- *
- *  COPYRIGHT (c) 1989-2009.
+ */
+
+/*
+ *  COPYRIGHT (c) 1989-2014.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
@@ -565,7 +569,7 @@ total_size += size_ports;
 
 printf( "What is maximum_periods? " );
 maximum_periods = getint();
-size_periods = PER_PORT * maximum_periods;
+size_periods = PER_PERIOD * maximum_periods;
 total_size += size_periods;
 
 printf( "What is maximum_extensions? " );




More information about the vc mailing list