Last patch was broken, thanks to Jack Burton for notifying me.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7606 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-05-17 10:01:17 +00:00
parent e81b5ee3a8
commit f9ba8a1b61

View File

@ -2889,7 +2889,7 @@ attr_remove(int fd, const char *name, bool kernel)
else
status = EROFS;
put_fd(fd);
put_fd(descriptor);
return status;
}
@ -2929,9 +2929,9 @@ attr_rename(int fromfd, const char *fromName, int tofd, const char *toName, bool
status = EROFS;
err1:
put_fd(tofd);
put_fd(toDescriptor);
err:
put_fd(fromfd);
put_fd(fromDescriptor);
return status;
}