Changeset 4b9b6dd in rtems for cpukit/libmisc/shell/shell.c


Ignore:
Timestamp:
May 5, 2020, 12:34:32 PM (19 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
34b098e
Parents:
e78c0806
git-author:
Sebastian Huber <sebastian.huber@…> (05/05/20 12:34:32)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/06/20 05:39:09)
Message:

Use rtems_get_version_string()

Update #3970.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/shell/shell.c

    re78c0806 r4b9b6dd  
    684684                break;
    685685              case 'V':
    686                 fprintf(out,"%s\n%s",_RTEMS_version, _Copyright_Notice);
     686                fprintf(out,"%s\n%s",rtems_get_version_string(), _Copyright_Notice);
    687687                break;
    688688              case '@':
     
    736736                break;
    737737              case 'r':
    738                 fprintf(out,_RTEMS_version);
     738                fprintf(out,rtems_get_version_string());
    739739                break;
    740740              case 'v':
    741                 fprintf(out,"%s\n%s",_RTEMS_version,_Copyright_Notice);
     741                fprintf(out,"%s\n%s",rtems_get_version_string(),_Copyright_Notice);
    742742                break;
    743743              case '%':fprintf(out,"%%");
Note: See TracChangeset for help on using the changeset viewer.