about summary refs log tree commit diff
path: root/stdio-common/tst-sscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tst-sscanf.c')
-rw-r--r--stdio-common/tst-sscanf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdio-common/tst-sscanf.c b/stdio-common/tst-sscanf.c
index c0d3c36f4b..d5a0397559 100644
--- a/stdio-common/tst-sscanf.c
+++ b/stdio-common/tst-sscanf.c
@@ -117,5 +117,6 @@ main (void)
       if (! tst_locale)
 	break;
     }
-  exit (result);
+
+  return result;
 }