aboutsummaryrefslogtreecommitdiff
path: root/src/pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pack.c')
-rw-r--r--src/pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pack.c b/src/pack.c
index b1e6a36..fa0d19c 100644
--- a/src/pack.c
+++ b/src/pack.c
@@ -309,7 +309,7 @@ static ssize_t pack_rcb_dvread_f (
nb_bin_loc = ctx->buf + ctx->buf_len + 6;
ctx->buf_len += 8;
- if (ctx->self.arch != PRNE_ARCH_NONE) {
+ if (prne_bin_host_inrange(&ctx->self)) {
ctx->buf[ctx->buf_len + 0] = 0;
ctx->buf[ctx->buf_len + 1] = 0;
ctx->buf[ctx->buf_len + 2] = (uint8_t)ctx->self.os;