From 7f69f5937a6d547c15183ea0992cbbf55cb4c625 Mon Sep 17 00:00:00 2001 From: John Reiser Date: Fri, 8 Nov 2002 19:33:24 +0000 Subject: [PATCH] be gentler, use throwAlreadyPackedByUPX() committer: jreiser 1036784004 +0000 --- src/p_lx_elf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_lx_elf.cpp b/src/p_lx_elf.cpp index 18569849..5c547851 100644 --- a/src/p_lx_elf.cpp +++ b/src/p_lx_elf.cpp @@ -144,7 +144,7 @@ bool PackLinuxI386elf::canPack() // detect possible conflict upon invocation if (phdr->p_vaddr < (unsigned)(0x400000 + file_size) || phdr->p_paddr < (unsigned)(0x400000 + file_size) ) { - throwCantPack("invalid Phdr p_vaddr; try `--force-execve'"); + throwAlreadyPackedByUPX(); // not necessarily, but mostly true return false; } exetype = 1;