summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/capture/capture-cli.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2015-03-19 18:23:12 +1100
committerChris Johns <chrisj@rtems.org>2015-03-19 18:25:51 +1100
commitda30417b24d4a8f69c4298f732644f7bc93936e8 (patch)
tree87f438524cf5fe57cd0aaeaff32bb1ae952340f7 /cpukit/libmisc/capture/capture-cli.c
parenttestsupport: Do not suspend worker tasks (diff)
downloadrtems-da30417b24d4a8f69c4298f732644f7bc93936e8.tar.bz2
libmisc/capture: Clean up formatting on ARM.
The printing of 64bit diff's for the timestamp did not work on ARM so I have changed this to 32bit. A 32bit nano-second diff between events should be more than enough time. Print '____' for POSIX thread output.
Diffstat (limited to 'cpukit/libmisc/capture/capture-cli.c')
-rw-r--r--cpukit/libmisc/capture/capture-cli.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/cpukit/libmisc/capture/capture-cli.c b/cpukit/libmisc/capture/capture-cli.c
index b2200bcf9d..1a499b4ca9 100644
--- a/cpukit/libmisc/capture/capture-cli.c
+++ b/cpukit/libmisc/capture/capture-cli.c
@@ -1,11 +1,10 @@
/*
------------------------------------------------------------------------
- Copyright Objective Design Systems Pty Ltd, 2002
- All rights reserved Objective Design Systems Pty Ltd, 2002
- Chris Johns (ccj@acm.org)
+ Copyright 2002, 2015 Chris Johns <chrisj@rtems.org>
+ All rights reserved.
- COPYRIGHT (c) 1989-2014.
+ COPYRIGHT (c) 2014.
On-Line Applications Research Corporation (OAR).
The license and distribution terms for this file may be
@@ -45,7 +44,7 @@
/*
* Counter used to count the number of active tasks.
*/
-static int rtems_capture_cli_task_count = 0;
+static int rtems_capture_cli_task_count = 0;
/*
* The user capture timestamper.
@@ -162,7 +161,7 @@ rtems_capture_cli_enable (int argc RC_UNUSED,
{
rtems_status_code sc;
- sc = rtems_capture_control (1);
+ sc = rtems_capture_control (true);
if (sc != RTEMS_SUCCESSFUL)
{
@@ -187,7 +186,7 @@ rtems_capture_cli_disable (int argc RC_UNUSED,
{
rtems_status_code sc;
- sc = rtems_capture_control (0);
+ sc = rtems_capture_control (false);
if (sc != RTEMS_SUCCESSFUL)
{