Skip to content

Commit

Permalink
Merge pull request #1043 from FedorLap2006/fwindow-path
Browse files Browse the repository at this point in the history
  • Loading branch information
no92 authored Mar 30, 2024
2 parents 9b1a7fa + 3a9d1b1 commit bc4d94e
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 bc4d94e

Please sign in to comment.