about summary refs log tree commit diff
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/support_capture_subprocess_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/support_capture_subprocess_check.c b/support/support_capture_subprocess_check.c
index 708c89f331..e1cf73b6a5 100644
--- a/support/support_capture_subprocess_check.c
+++ b/support/support_capture_subprocess_check.c
@@ -48,7 +48,7 @@ support_capture_subprocess_check (struct support_capture_subprocess *proc,
     {
       print_context (context, &failed);
       printf ("error:   expected exit status: %d\n", status);
-      printf ("error:   actual exit status:   %d\n", status);
+      printf ("error:   actual exit status:   %d\n", proc->status);
     }
   if (!(allowed & sc_allow_stdout) && proc->out.length != 0)
     {