summaryrefslogtreecommitdiff
path: root/storage/connect/osutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/connect/osutil.c')
-rw-r--r--storage/connect/osutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/osutil.c b/storage/connect/osutil.c
index 4cdd7c560f0..ad92caefe95 100644
--- a/storage/connect/osutil.c
+++ b/storage/connect/osutil.c
@@ -181,7 +181,7 @@ char *_fullpath(char *absPath, const char *relPath, size_t maxLength)
} else {
char buff[2*_MAX_PATH];
- getcwd(buff, _MAX_PATH);
+ assert(getcwd(buff, _MAX_PATH) != NULL);
strcat(buff,"/");
strcat(buff, relPath);
strncpy(absPath, buff, maxLength);