diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-01-23 14:28:47 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-01-23 14:28:47 +0100 |
commit | c3bad3042df505a3470f1e20b09822a9df1d4761 (patch) | |
tree | 6842e8eaa705e406379d34cf07a85431b6d71344 /dwarf_wrappers.cxx | |
parent | 750b1f2f5c84acaf0776de5239dc81e2e95c1dec (diff) | |
parent | f120873cb40cfc16cc94f06fd722abc927b96227 (diff) | |
download | systemtap-steved-c3bad3042df505a3470f1e20b09822a9df1d4761.tar.gz systemtap-steved-c3bad3042df505a3470f1e20b09822a9df1d4761.tar.xz systemtap-steved-c3bad3042df505a3470f1e20b09822a9df1d4761.zip |
Merge branch 'master' into pr6866.
Diffstat (limited to 'dwarf_wrappers.cxx')
-rw-r--r-- | dwarf_wrappers.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dwarf_wrappers.cxx b/dwarf_wrappers.cxx index 4fd074ed..f83c4665 100644 --- a/dwarf_wrappers.cxx +++ b/dwarf_wrappers.cxx @@ -1,5 +1,5 @@ // -*- C++ -*- -// Copyright (C) 2008 Red Hat Inc. +// Copyright (C) 2008-2009 Red Hat Inc. // // This file is part of systemtap, and is free software. You can // redistribute it and/or modify it under the terms of the GNU General @@ -21,7 +21,7 @@ void dwfl_assert(const string& desc, int rc) return; string msg = "libdwfl failure (" + desc + "): "; if (rc < 0) - msg += dwfl_errmsg (rc); + msg += (dwfl_errmsg (rc) ?: "?"); else msg += std::strerror (rc); throw semantic_error (msg); |