about summary refs log tree commit diff
path: root/inet
diff options
context:
space:
mode:
Diffstat (limited to 'inet')
-rw-r--r--inet/test_ifindex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/inet/test_ifindex.c b/inet/test_ifindex.c
index 0441bf0feb..62a7326b9e 100644
--- a/inet/test_ifindex.c
+++ b/inet/test_ifindex.c
@@ -1,5 +1,5 @@
 /* Test interface name <-> index conversions.
-   Copyright (C) 1997 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Philip Blundell <Philip.Blundell@pobox.com>.
 
@@ -61,5 +61,5 @@ main (void)
       failures += result;
     }
   if_freenameindex (idx);
-  exit (failures ? 1 : 0);
+  return failures ? 1 : 0;
 }