From b256e9f08e83347725bcb26790b03377b5d2191c Mon Sep 17 00:00:00 2001
From: Murai Takashi <tmurai01@gmail.com>
Date: Mon, 5 Sep 2016 05:04:44 +0900
Subject: [PATCH 31/31] vfs.cpp: fix clang build
---
src/system/boot/loader/vfs.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/system/boot/loader/vfs.cpp b/src/system/boot/loader/vfs.cpp
index 8408970..a136b6c 100644
a
|
b
|
open_from(Directory *directory, const char *name, int mode, mode_t permissions)
|
1044 | 1044 | if (lastSlash[1] == '\0') |
1045 | 1045 | return B_ENTRY_NOT_FOUND; |
1046 | 1046 | |
1047 | | lastSlash = '\0'; |
| 1047 | *lastSlash = '\0'; |
1048 | 1048 | name = lastSlash + 1; |
1049 | 1049 | |
1050 | 1050 | // resolve the directory |