Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorTodorovskiIBM committed Jul 16, 2024
1 parent 8253dfe commit 153ef5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zos-bpx.cc
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ ssize_t __readlink(const char *path, char *buf, size_t bufsiz) {
return -1;
}

if ((len > 0 buf[0] == '$') || (len > 1 && buf[0] == '/' && buf[1] == '$')) {
if ((len > 0 && buf[0] == '$') || (len > 1 && buf[0] == '/' && buf[1] == '$')) {
// Not sure if this is possible, but double check in case:
if (len < bufsiz) {
buf[len] = '\0';
Expand Down

0 comments on commit 153ef5f

Please sign in to comment.