diff options
Diffstat (limited to 'src/kernel/vfs')
-rw-r--r-- | src/kernel/vfs/path.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/kernel/vfs/path.c b/src/kernel/vfs/path.c index 1cdcfe4..dad4373 100644 --- a/src/kernel/vfs/path.c +++ b/src/kernel/vfs/path.c @@ -11,8 +11,7 @@ int path_simplify(const char *in, char *out, size_t len) { bool directory = 0; for (int i = 0; i < len; i += seg_len + 1) { - // TODO implement assert - if (in[i] != '/') panic(); + assert(in[i] == '/'); seg_len = 0; directory = false; |