B_OK -> FS_OK

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11598 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2005-03-06 13:33:25 +00:00
parent 76a14666e0
commit 19de31b510

View File

@ -1590,7 +1590,7 @@ do_link(int argc, char **argv)
// get source leaf
char leaf[B_FILE_NAME_LENGTH];
error = get_last_path_component(source, leaf, sizeof(leaf));
if (error != B_OK) {
if (error != FS_OK) {
fprintf(stderr, "Failed to get leaf name of source path: %s\n",
fs_strerror(error));
return error;