mirror of
https://github.com/Fennix-Project/Userspace.git
synced 2025-05-25 22:14:28 +00:00
Update file and directory paths
This commit is contained in:
parent
db93fef8ed
commit
2c57714eda
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user