Improve comments for clarity in find.c

Clarified comments for variable 'type' and 'dir'.
This commit is contained in:
Jan 2026-05-13 22:32:43 +02:00 committed by GitHub
parent 3a295cd2f0
commit 05abd505ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,9 +2,9 @@
#include <string.h> #include <string.h>
#include "syscall.h" #include "syscall.h"
int type = 0; // 0:nothing 1:file 2:dir int type = 0; // 0 is nothing, 1 is file, 2 is dir
char *name = NULL; char *name = NULL;
char *dir = "."; char *dir = "."; // random char bc it needs to have anything in it
// match exact name // match exact name
int match(const char *a, const char *b) { int match(const char *a, const char *b) {