1
0
Mirror von https://github.com/tkuschel/bees.git synchronisiert 2026-05-08 04:59:37 +02:00

bees: don't try to print si_lower and si_upper

Some build environments (ARM?  AARCH64?) do not have the fields
si_lower and si_upper in siginfo.

bees doesn't need them, so don't try to access them.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
Zygo Blaxell
2019-05-24 14:16:26 -04:00
Ursprung b149528828
Commit 2c3d1822f7
+2 -2
Datei anzeigen
@@ -686,8 +686,8 @@ operator<<(ostream &os, const siginfo_t &si)
<< "band = " << si.si_band << ", "
<< "fd = " << si.si_fd << ", "
<< "addr_lsb = " << si.si_addr_lsb << ", "
<< "lower = " << si.si_lower << ", "
<< "upper = " << si.si_upper << ", "
// << "lower = " << si.si_lower << ", "
// << "upper = " << si.si_upper << ", "
// << "pkey = " << si.si_pkey << ", "
<< "call_addr = " << si.si_call_addr << ", "
<< "syscall = " << si.si_syscall << ", "