From cb39ec159c448ee5ffd5f16c4c65c9478b211756 Mon Sep 17 00:00:00 2001 From: Abdullah Sowayan Date: Tue, 17 Jul 2007 04:06:30 +0000 Subject: Tue Jul 17 04:03:24 UTC 2007 Abdullah Sowayan --- ACE/tests/Dirent_Test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ACE/tests/Dirent_Test.cpp') diff --git a/ACE/tests/Dirent_Test.cpp b/ACE/tests/Dirent_Test.cpp index c564623aaef..71ac50538d1 100644 --- a/ACE/tests/Dirent_Test.cpp +++ b/ACE/tests/Dirent_Test.cpp @@ -163,7 +163,7 @@ dirent_count (const ACE_TCHAR *dir_path, # if (defined (ACE_VXWORKS) && (ACE_VXWORKS < 0x600)) // VxWorks only allows full paths (incl. device spec if applicable) to be specified ACE_TCHAR full_path[MAXPATHLEN]; - if (ACE_OS::getcwd (full_path, sizeof(full_path)) == NULL) + if (ACE_OS::getcwd (full_path, sizeof(full_path)) == 0) ACE_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("getcwd: failed\n")), -1); -- cgit v1.2.1