r29341 build broken on /haiku/trunk/src/system/kernel/fs/vfs.cpp because of multiple parameters of attr_write_stat() with the same name
|Reported by:||iFrodo||Owned by:||axeld|
This ticket will not last very long as the fix is pretty obvious, but I file it anyway;
On line 483 of /haiku/trunk/src/system/kernel/fs/vfs.cpp, attr_write_stat() is defined as follow on hrev29341:
static status_t attr_write_stat(struct file_descriptor* descriptor, const struct stat* descriptor, int statMask);
As you can see, the two first parameters are named "descriptor".
The fix is then obvious, just name one of them differently, example:
static status_t attr_write_stat(struct file_descriptor* descriptor, const struct stat* descriptor2, int statMask);