Changeset 737c775 in rtems-schedsim


Ignore:
Timestamp:
May 23, 2014, 6:42:32 PM (5 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
master
Children:
a358713
Parents:
a6a8e11
git-author:
Jennifer Averett <jennifer.averett@…> (05/23/14 18:42:32)
git-committer:
Jennifer Averett <jennifer.averett@…> (05/23/14 19:14:07)
Message:

shared: fix print message in semaphore create.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • schedsim/shell/shared/main_semcreate.c

    ra6a8e11 r737c775  
    102102      stderr,
    103103      "Semaphore create(%s) returned %s\n",
    104       argv[1],
     104      name,
    105105      rtems_status_text( status )
    106106    );
     
    108108  }
    109109
    110   printf( "Semaphore (%s) created: id=0x%08x\n", argv[1], id );
     110  printf( "Semaphore (%s) created: id=0x%08x\n", name, id );
    111111
    112112  return 0;
     
    115115rtems_shell_cmd_t rtems_shell_SEMAPHORE_CREATE_Command = {
    116116  "semaphore_create",                 /* name */
    117   "semaphore_create name priority",   /* usage */
     117  "semaphore_create name XXX",   /* usage */
    118118  "rtems",                            /* topic */
    119119  rtems_shell_main_semaphore_create,  /* command */
Note: See TracChangeset for help on using the changeset viewer.