diff options
-rw-r--r-- | src/ports/SkOSFile_stdio.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ports/SkOSFile_stdio.cpp b/src/ports/SkOSFile_stdio.cpp index 77f502a96e..501d275c0f 100644 --- a/src/ports/SkOSFile_stdio.cpp +++ b/src/ports/SkOSFile_stdio.cpp @@ -162,10 +162,5 @@ bool sk_mkdir(const char* path) { #else retval = mkdir(path, 0777); #endif - if (0 == retval) { - return true; - } else { - fprintf(stderr, "sk_mkdir: error %d creating dir '%s'\n", errno, path); - return false; - } + return 0 == retval; } |