diff options
Diffstat (limited to '')
-rw-r--r-- | src/mds-kbdc/paths.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-kbdc/paths.c b/src/mds-kbdc/paths.c index 031d49c..552aaae 100644 --- a/src/mds-kbdc/paths.c +++ b/src/mds-kbdc/paths.c @@ -75,7 +75,7 @@ char* abspath(const char* path) if (*path == '/') return strdup(path); - fail_if ((cwd = curpath(), cwd == NULL)); + fail_if (cwd = curpath(), cwd == NULL); size = (p = strlen(cwd)) + strlen(path) + 2; fail_if (xmalloc(buf, size + 1, char)); memcpy(buf, cwd, (p + 1) * sizeof(char)); |