aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorLars Persson2006-05-31 11:36:20 +0000
committerLars Persson2006-05-31 11:36:20 +0000
commitacb3ff742b191e7c4671e0059ce2352a117d1f5c (patch)
tree1b772b840ad02bf0a722e530511073b2f37893cd /base
parentda69cc267cbae8dff5ff3bb4f88ca8c81c5bc220 (diff)
downloadscummvm-rg350-acb3ff742b191e7c4671e0059ce2352a117d1f5c.tar.gz
scummvm-rg350-acb3ff742b191e7c4671e0059ce2352a117d1f5c.tar.bz2
scummvm-rg350-acb3ff742b191e7c4671e0059ce2352a117d1f5c.zip
Only do warning for path create failure and not error as it can be set within scummvm.
svn-id: r22797
Diffstat (limited to 'base')
-rw-r--r--base/commandLine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/commandLine.cpp b/base/commandLine.cpp
index 0ca67e36a2..811723e35c 100644
--- a/base/commandLine.cpp
+++ b/base/commandLine.cpp
@@ -247,7 +247,7 @@ void registerDefaults() {
if (stat(savePath, &sb) == -1)
if (errno == ENOENT)// create the dir if it does not exist
if (mkdir(savePath, 0755) != 0)
- error("mkdir for '%s' failed!", savePath);
+ warning("mkdir for '%s' failed!", savePath);
ConfMan.registerDefault("savepath", savePath); // this should be enough...
#endif
#endif // #ifdef DEFAULT_SAVE_PATH