Skip to content

Commit

Permalink
Update src/nvim/os/fs.c
Browse files Browse the repository at this point in the history
Co-authored-by: zeertzjq <[email protected]>
  • Loading branch information
dundargoc and zeertzjq committed Nov 21, 2022
1 parent 85393b6 commit 3381ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nvim/os/fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ int os_file_mkdir(char *fname, int32_t mode)
*tail = NUL;
int r;
char *failed_dir;
if ((r = (os_mkdir_recurse(fname, mode, &failed_dir) < 0))) {
if (((r = os_mkdir_recurse(fname, mode, &failed_dir)) < 0)) {
semsg(_(e_mkdir), failed_dir, os_strerror(r));
xfree(failed_dir);
}
Expand Down

0 comments on commit 3381ef5

Please sign in to comment.