aboutsummaryrefslogtreecommitdiff
path: root/src/objcopy.zig
diff options
context:
space:
mode:
authorXavier Bouchoux <xavierb@gmail.com>2023-08-15 06:09:14 +0000
committerAndrew Kelley <andrew@ziglang.org>2023-08-15 02:52:38 -0700
commitf7b82ed416e32a9164c67a35924b9b99e86707fa (patch)
tree512bd13b69e03af9bfe888c7fa4f8ca5c97655df /src/objcopy.zig
parent9135115573051eff58ffcf1ba0a3cce51ed0b413 (diff)
downloadzig-f7b82ed416e32a9164c67a35924b9b99e86707fa.tar.gz
zig-f7b82ed416e32a9164c67a35924b9b99e86707fa.zip
objcopy: fix typo
fixes aecc15391a4c37a4504d29cb7e3179990b180773 the usual last 'harmless' cosmetic ajustement before commit strikes again...
Diffstat (limited to 'src/objcopy.zig')
-rw-r--r--src/objcopy.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objcopy.zig b/src/objcopy.zig
index ad405b27f7..1dc081f2bb 100644
--- a/src/objcopy.zig
+++ b/src/objcopy.zig
@@ -124,7 +124,7 @@ pub fn cmdObjCopy(
};
const mode = mode: {
- if (out_fmt != .elf or !only_keep_debug)
+ if (out_fmt != .elf or only_keep_debug)
break :mode fs.File.default_mode;
if (in_file.stat()) |stat|
break :mode stat.mode