Skip to content

Commit

Permalink
Change return style
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnoKing committed Dec 25, 2024
1 parent a1df0fb commit 327def4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/ksh93/bltins/cd_pwd.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ int sh_diropenat(int dir, const char *path)
/* Move fd to a number > 10 and register the fd number with the shell */
shfd = sh_fcntl(fd, F_dupfd_cloexec, 10);
close(fd);
return(shfd);
return shfd;
}

int b_cd(int argc, char *argv[],Shbltin_t *context)
Expand Down

0 comments on commit 327def4

Please sign in to comment.