Add end of test message
PATCH 8/9 Add end of test message
Print the message "End of test" on the risu host end.
Signed-off-by John Arbuckle <[email protected]>
--- risu.c | 1 + 1 file changed, 1 insertion(+)
risu.c +1 -0
@@ -63,6 +63,7 @@ void apprentice_sigill(int sig, siginfo_t *si, void *uc)return ;case 1 :/* end of test */ +printf ("End of test\n" );exit (0 );default :/* mismatch */
Signature · 1 line
2.10.2
Quoted 12 lines · On 25 April 2017 at 04:24, G 3 <[email protected]> wrote:
Print the message "End of test" on the risu host end.
Signed-off-by John Arbuckle <[email protected]>--- risu.c | 1 + 1 file changed, 1 insertion(+)risu.c +0
-0
risu.c void apprentice_sigill(int sig, siginfo_t *si, void *uc) · line 69
Quoted 7 lines
risu.c +1
-0@@ -63,6 +63,7 @@ void apprentice_sigill(int sig, siginfo_t *si, void *uc)return ;case 1 :/* end of test */ +printf ("End of test\n" );exit (0 );default :/* mismatch */
This code is a signal handler, you can't use printf() here.
thanks
-- PMM