mirror of
https://github.com/Fennix-Project/Userspace.git
synced 2025-05-27 15:04:25 +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)
|
if (p == NULL)
|
||||||
{
|
{
|
||||||
path = malloc(20);
|
path = malloc(20);
|
||||||
sprintf(path, "/watched_file.txt");
|
sprintf(path, "/tmp/watched_file.txt");
|
||||||
fp = fopen(path, "w");
|
fp = fopen(path, "w");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -522,7 +522,7 @@ char *create_directory()
|
|||||||
if (p == NULL)
|
if (p == NULL)
|
||||||
{
|
{
|
||||||
path = malloc(20);
|
path = malloc(20);
|
||||||
sprintf(path, "/watched_directory");
|
sprintf(path, "/tmp/watched_directory");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user