From 1af8e45bb7149f72b932a4453dc1a699477ff00f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 5 May 2020 16:11:39 +0200 Subject: rtems: Add rtems_get_copyright_notice() Update #3973. --- cpukit/libmisc/shell/shell.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'cpukit/libmisc/shell') 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; -- cgit v1.2.3