]> git.tdb.fi Git - libs/core.git/commitdiff
Fix incorrect function name in an exception
authorMikko Rasa <tdb@tdb.fi>
Sat, 2 Dec 2017 15:05:54 +0000 (17:05 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 2 Dec 2017 15:05:54 +0000 (17:05 +0200)
source/fs/dir.cpp

index 717c11c132d7e4fe6e99995827e4918d443062fb..bd9eaa59fe06ad933209f5331b12e86a0ae6a0a5 100644 (file)
@@ -190,7 +190,7 @@ Path get_sys_data_dir()
 Path get_sys_lib_dir(const string &argv0, const string &appname)
 {
        if(argv0.empty() || appname.empty())
-               throw invalid_argument("get_sys_data_dir");
+               throw invalid_argument("get_sys_lib_dir");
 
        Path dir = get_bin_dir(argv0);