mirror of
https://github.com/BoredDevNL/BoredOS.git
synced 2026-05-15 10:48:38 +00:00
Improve comments for clarity in find.c
Clarified comments for variable 'type' and 'dir'.
This commit is contained in:
parent
3a295cd2f0
commit
05abd505ef
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue