Update file and directory paths

This commit is contained in:
EnderIce2 2024-03-19 04:00:56 +02:00
parent db93fef8ed
commit 2c57714eda
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -494,7 +494,7 @@ char *create_file()
if (p == NULL)
{
path = malloc(20);
sprintf(path, "/watched_file.txt");
sprintf(path, "/tmp/watched_file.txt");
fp = fopen(path, "w");
}
else
@ -522,7 +522,7 @@ char *create_directory()
if (p == NULL)
{
path = malloc(20);
sprintf(path, "/watched_directory");
sprintf(path, "/tmp/watched_directory");
}
else
{