summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-04-11 23:26:54 +0300
committerPaul Buetow <paul@buetow.org>2025-04-11 23:26:54 +0300
commitc6c564c5f9862c14da4958ed7665187f18c158d6 (patch)
tree0ff5d79724b3fc55d6c5ea6d15437a8c55723f9b
parent0f52c3503bd11dd9a42a601a6967820f0fefb8d7 (diff)
fix
-rw-r--r--Makefile5
-rw-r--r--internal/file/flags.go2
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fbeb335..c4c2494 100644
--- a/Makefile
+++ b/Makefile
@@ -36,10 +36,11 @@ clean:
.PHONY: mrproper
mrproper: clean
- find . -type f -name \*.ior.zst -delete
+ find . -type f -name \*.zst -delete
find . -type f -name \*.collapsed -delete
find . -type f -name \*.svg -delete
- find . -type f -name \*.profile -delete
+ find . -type f -name \*profile -delete
+ find . -type f -name \*.tmp -delete
.PHONY: world
world: clean generate test all
diff --git a/internal/file/flags.go b/internal/file/flags.go
index f03d904..ca749e1 100644
--- a/internal/file/flags.go
+++ b/internal/file/flags.go
@@ -69,7 +69,7 @@ func (f Flags) String() string {
// Must be read only then
strs = append(strs, "O_RDONLY")
}
- for _, toHuman := range flagsToHuman[1:] {
+ for _, toHuman := range flagsToHuman[2:] {
if int(f)&toHuman.syscallNr == toHuman.syscallNr {
strs = append(strs, toHuman.str)
}