summary refs log tree commit diff
path: root/stdlib/tst-xpg-basename.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-xpg-basename.c')
-rw-r--r--stdlib/tst-xpg-basename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/tst-xpg-basename.c b/stdlib/tst-xpg-basename.c
index 12067e702d..8e2d965394 100644
--- a/stdlib/tst-xpg-basename.c
+++ b/stdlib/tst-xpg-basename.c
@@ -63,5 +63,5 @@ main (void)
 	}
     }
 
-  exit (errors);
+  return errors;
 }