summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-05-05 16:11:39 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-05-06 07:47:34 +0200
commit1af8e45bb7149f72b932a4453dc1a699477ff00f (patch)
treeea54ce37badd8f45baf3545c8a65aba05e62a638 /cpukit/libmisc/shell
parentrtems: Deprecate <rtems/system.h> (diff)
downloadrtems-1af8e45bb7149f72b932a4453dc1a699477ff00f.tar.bz2
rtems: Add rtems_get_copyright_notice()
Update #3973.
Diffstat (limited to 'cpukit/libmisc/shell')
-rw-r--r--cpukit/libmisc/shell/shell.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/cpukit/libmisc/shell/shell.c b/cpukit/libmisc/shell/shell.c
index 79c1afcb5a..0b06e8b4d1 100644
--- a/cpukit/libmisc/shell/shell.c
+++ b/cpukit/libmisc/shell/shell.c
@@ -683,7 +683,12 @@ static bool rtems_shell_login(rtems_shell_env_t *env, FILE * in,FILE * out)
fprintf(out,"RTEMS");
break;
case 'V':
- fprintf(out,"%s\n%s",rtems_get_version_string(), _Copyright_Notice);
+ fprintf(
+ out,
+ "%s\n%s",
+ rtems_get_version_string(),
+ rtems_get_copyright_notice()
+ );
break;
case '@':
fprintf(out,"@");
@@ -738,7 +743,12 @@ static bool rtems_shell_login(rtems_shell_env_t *env, FILE * in,FILE * out)
fprintf(out,rtems_get_version_string());
break;
case 'v':
- fprintf(out,"%s\n%s",rtems_get_version_string(),_Copyright_Notice);
+ fprintf(
+ out,
+ "%s\n%s",
+ rtems_get_version_string(),
+ rtems_get_copyright_notice()
+ );
break;
case '%':fprintf(out,"%%");
break;