dev_for_path() should resolve symlinks.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8776 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-09-01 14:41:20 +00:00
parent d3fe452749
commit a52018b53b
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ dev_t
dev_for_path(const char *path)
{
struct stat stat;
int status = _kern_read_stat(-1, path, false, &stat, sizeof(struct stat));
int status = _kern_read_stat(-1, path, true, &stat, sizeof(struct stat));
if (status == B_OK)
return stat.st_dev;