aboutsummaryrefslogtreecommitdiff
path: root/smash
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-01-15 01:13:51 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2023-01-15 01:13:51 +0100
commit3f79b7bd553a52fca7a098f5195b406ff9970491 (patch)
tree99d0399141e7894219fe7a0deed1ccadb226b9c9 /smash
parent919450dc7d965c4067287e1ece3ceafdde8ff5a9 (diff)
add list and static library builder
Diffstat (limited to 'smash')
-rw-r--r--smash/main.c2
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]);