* compile fix for the test environment

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17306 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2006-05-03 11:08:52 +00:00
parent bb40a68547
commit 6a8e3decde
+1 -1
View File
@@ -314,7 +314,7 @@ BDirectory::SetTo(const BDirectory *dir, const char *path)
if (dir == this) {
// cleanup after _SetTo()
close(dirFD);
_kern_close(dirFD);
}
// set close on exec flag on dir FD