From 90ae97dbace8dba11c1935ab8f485eaffcb3f874 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Tue, 3 Sep 2024 11:16:54 -0400 Subject: [PATCH] libroot: Remove another obsolete comment. --- src/system/libroot/os/fs_attr.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/system/libroot/os/fs_attr.cpp b/src/system/libroot/os/fs_attr.cpp index 88dedb828c..cc32dcf997 100644 --- a/src/system/libroot/os/fs_attr.cpp +++ b/src/system/libroot/os/fs_attr.cpp @@ -68,9 +68,7 @@ fs_write_attr(int fd, const char* attribute, uint32 type, off_t pos, // 0, but it also tries to support programs which continue to write more // chunks. // The new Haiku way is to use fs_open_attr() to get a regular file handle - // and use that for writing, then use fs_close_attr() when done. As you - // see from this implementation, it saves 2 syscalls per writing a chunk - // of data. + // and use that for writing, then use fs_close_attr() when done. ssize_t bytes = _kern_write_attr(fd, attribute, type, pos, buffer, writeBytes);