Skip to content

Commit

Permalink
pwd: typo in pwd command
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Oct 3, 2024
1 parent 318e9bb commit d23a453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pwd/pwd.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@

int main(void) {
char path[PATH_MAX];
sprintf("%s\n", getwd(path));
printf("%s\n", getwd(path));
return 0;
}

0 comments on commit d23a453

Please sign in to comment.