From c98d35dc33ec4e69b3787e4faf7ff4a415819628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sat, 10 Nov 2007 21:46:57 +0000 Subject: [PATCH] This might help with the build on Linux. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22888 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tools/fs_shell/vfs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/fs_shell/vfs.cpp b/src/tools/fs_shell/vfs.cpp index b536fbc235..b403ef2533 100644 --- a/src/tools/fs_shell/vfs.cpp +++ b/src/tools/fs_shell/vfs.cpp @@ -2064,7 +2064,7 @@ fssh_read_pages(int fd, fssh_off_t pos, const fssh_iovec *vecs, if (*_numBytes < toRead) { // We're supposed to read less than specified by the vecs. Since // readv_pos() doesn't support this, we need to clone the vecs. - newVecs = new(nothrow) fssh_iovec[count]; + newVecs = new(std::nothrow) fssh_iovec[count]; if (!newVecs) return FSSH_B_NO_MEMORY; @@ -2105,7 +2105,7 @@ fssh_write_pages(int fd, fssh_off_t pos, const fssh_iovec *vecs, if (*_numBytes < toWrite) { // We're supposed to write less than specified by the vecs. Since // writev_pos() doesn't support this, we need to clone the vecs. - newVecs = new(nothrow) fssh_iovec[count]; + newVecs = new(std::nothrow) fssh_iovec[count]; if (!newVecs) return FSSH_B_NO_MEMORY;