about summary refs log tree commit diff
path: root/nss/tst-reload2.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/tst-reload2.c')
-rw-r--r--nss/tst-reload2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/tst-reload2.c b/nss/tst-reload2.c
index ba9b5b7687..89cc9ea242 100644
--- a/nss/tst-reload2.c
+++ b/nss/tst-reload2.c
@@ -121,7 +121,7 @@ do_test (void)
   /* Change the root dir.  */
 
   TEST_VERIFY (chroot ("/subdir") == 0);
-  chdir ("/");
+  xchdir ("/");
 
   /* Check we're NOT using the "inner" nsswitch.conf.  */