diff --git a/src/debug.cpp b/src/debug.cpp index 61dbbeee6b569..e038431483c87 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -549,7 +549,7 @@ static cata::optional debug_compute_load_offset( cmd << nm_variant << ' ' << binary << " 2>&1"; FILE *nm = popen( cmd.str().c_str(), "re" ); if( !nm ) { - out << "\tbacktrace: popen(nm) failed\n"; + out << "\tbacktrace: popen(nm) failed: " << strerror( errno ) << "\n"; return cata::nullopt; }