aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/fbrun/main.cc2
-rw-r--r--util/fbsetroot.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/fbrun/main.cc b/util/fbrun/main.cc
index edb88ff..af059d6 100644
--- a/util/fbrun/main.cc
+++ b/util/fbrun/main.cc
@@ -227,7 +227,7 @@ int main(int argc, char **argv) {
227 227
228 application.eventLoop(); 228 application.eventLoop();
229 229
230 } catch (string errstr) { 230 } catch (string & errstr) {
231 cerr<<"Error: "<<errstr<<endl; 231 cerr<<"Error: "<<errstr<<endl;
232 } 232 }
233} 233}
diff --git a/util/fbsetroot.cc b/util/fbsetroot.cc
index 71ff34d..4e7981f 100644
--- a/util/fbsetroot.cc
+++ b/util/fbsetroot.cc
@@ -407,7 +407,7 @@ int main(int argc, char **argv) {
407 407
408 try { 408 try {
409 fbsetroot app(argc, argv, display_name); 409 fbsetroot app(argc, argv, display_name);
410 } catch (string error_str) { 410 } catch (string & error_str) {
411 _FB_USES_NLS; 411 _FB_USES_NLS;
412 cerr<<_FB_CONSOLETEXT(Common, Error, "Error", "Error message header")<<": "<<error_str<<endl; 412 cerr<<_FB_CONSOLETEXT(Common, Error, "Error", "Error message header")<<": "<<error_str<<endl;
413 } 413 }