diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-01-15 01:13:51 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-01-15 01:13:51 +0100 |
| commit | 3f79b7bd553a52fca7a098f5195b406ff9970491 (patch) | |
| tree | 99d0399141e7894219fe7a0deed1ccadb226b9c9 /smash/main.c | |
| parent | 919450dc7d965c4067287e1ece3ceafdde8ff5a9 (diff) | |
add list and static library builder
Diffstat (limited to 'smash/main.c')
| -rw-r--r-- | smash/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smash/main.c b/smash/main.c index 57de496..ed41b70 100644 --- a/smash/main.c +++ b/smash/main.c @@ -23,7 +23,7 @@ int main(int argc, char *argv[], char *envp[]) int fd = STDIN_FD; if (argc == 2) { - fd = open(argv[1], FILE_READ_ONLY, 0); + fd = open(argv[1], OPEN_READ_ONLY, 0); if (fd < 0) wstdf("%s\n", errstr[-fd]); |