Skip to content

Commit

Permalink
options/internal: use provided path in file_window
Browse files Browse the repository at this point in the history
  • Loading branch information
FedorLap2006 committed Mar 27, 2024
1 parent 9044e04 commit 3a9d1b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options/internal/include/mlibc/file-window.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
struct file_window {
file_window(const char *path) {
int fd;
if(mlibc::sys_open("/etc/localtime", O_RDONLY, 0, &fd))
if(mlibc::sys_open(path, O_RDONLY, 0, &fd))
mlibc::panicLogger() << "mlibc: Error opening file_window to "
<< path << frg::endlog;

Expand Down

0 comments on commit 3a9d1b1

Please sign in to comment.