diff options
author | dzwdz | 2022-08-26 17:17:39 +0200 |
---|---|---|
committer | dzwdz | 2022-08-26 17:17:39 +0200 |
commit | 35cbc783713c814298987ee636d26cfccc5aca96 (patch) | |
tree | a3a5a71008b798b84437fe249d848e11d62d805b /src/user/app | |
parent | e7676411e49bfd2e0da0b785ad4ac5dc909d0a41 (diff) |
user/find: fix segfault when called with arguments
Diffstat (limited to 'src/user/app')
-rw-r--r-- | src/user/app/find/find.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user/app/find/find.c b/src/user/app/find/find.c index 6c5d31a..529b54e 100644 --- a/src/user/app/find/find.c +++ b/src/user/app/find/find.c @@ -58,10 +58,10 @@ void find(const char *path) { int main(int argc, char **argv) { if (argc < 2) { - recurse("/"); + find("/"); } else { for (int i = 1; i < argc; i++) - recurse(argv[i]); + find(argv[i]); } return 0; } |