about summary refs log tree commit diff
path: root/nss
diff options
context:
space:
mode:
Diffstat (limited to 'nss')
-rw-r--r--nss/test-netdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nss/test-netdb.c b/nss/test-netdb.c
index dae4fad942..01056a69d7 100644
--- a/nss/test-netdb.c
+++ b/nss/test-netdb.c
@@ -41,7 +41,7 @@
 #include "nss.h"
 
 /*
-  The following define is neccessary for glibc 2.0.6
+  The following define is necessary for glibc 2.0.6
 */
 #ifndef INET6_ADDRSTRLEN
 # define INET6_ADDRSTRLEN 46
@@ -362,9 +362,9 @@ main (void)
   test_services ();
 
   if (error_count)
-    printf ("\n %d errors occured!\n", error_count);
+    printf ("\n %d errors occurred!\n", error_count);
   else
-    printf ("No visible errors occured!\n");
+    printf ("No visible errors occurred!\n");
 
   exit (error_count);
 }