summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-03-12 16:32:47 +0100
committerPaul Davis <paul@linuxaudiosystems.com>2013-03-12 16:32:47 +0100
commitfe39866bba9c1d0cbfb89dcb26235b8f953cc5a4 (patch)
treec6d81c0b600f044ebea42c818d6afd77b1034ddd
parent224edbeb15d781e7774ec78e7519f414ad22e005 (diff)
fix error reporting for a realpath(2) error
git-svn-id: svn+ssh://subversion.ardour.org/ardour2/branches/3.0@14214 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--libs/ardour/session_state.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index b6df5d5cbb..9885c15ffa 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -136,7 +136,7 @@ Session::first_stage_init (string fullpath, string snapshot_name)
char buf[PATH_MAX+1];
if (!realpath (fullpath.c_str(), buf) && (errno != ENOENT)) {
- error << string_compose(_("Could not use path %1 (%s)"), buf, strerror(errno)) << endmsg;
+ error << string_compose(_("Could not use path %1 (%2)"), buf, strerror(errno)) << endmsg;
destroy ();
throw failed_constructor();
}