lshw/lshw-B.02.18-long-bit.patch

14 lines
375 B
Diff
Raw Normal View History

diff --git a/src/core/abi.cc b/src/core/abi.cc
index 76e5082..76c664c 100644
--- a/src/core/abi.cc
+++ b/src/core/abi.cc
@@ -20,7 +20,7 @@ __ID("@(#) $Id: mem.cc 1352 2006-05-27 23:54:13Z ezix $");
bool scan_abi(hwNode & system)
{
// are we compiled as 32- or 64-bit process ?
- system.setWidth(sysconf(LONG_BIT));
+ system.setWidth(LONG_BIT);
pushd(PROC_SYS);