[GIT] ppl/ppl(master): Proper spacing added to throw_syscall_error().
Module: ppl/ppl Branch: master Commit: aeb2709a41cb3d3e55ef5a260abcbd6a3c746946 URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=aeb2709a41cb3... Author: Roberto Bagnara <bagnara@cs.unipr.it> Date: Wed Mar 3 22:07:01 2010 +0400 Proper spacing added to throw_syscall_error(). (Thanks to Michael Tautschnig.) --- Watchdog/src/Watchdog.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Watchdog/src/Watchdog.cc b/Watchdog/src/Watchdog.cc index 93449be..9a8e8c7 100644 --- a/Watchdog/src/Watchdog.cc +++ b/Watchdog/src/Watchdog.cc @@ -84,7 +84,7 @@ namespace { void throw_syscall_error(const char* syscall_name) { - throw std::runtime_error(std::string(syscall_name) + strerror(errno)); + throw std::runtime_error(std::string(syscall_name) + ": " + strerror(errno)); } void
participants (1)
-
Roberto Bagnara