Skip to content

Commit

Permalink
docs: fix simple typo, othrwise -> otherwise (#237)
Browse files Browse the repository at this point in the history
There is a small typo in src/path/path.c.

Should read `otherwise` rather than `othrwise`.
  • Loading branch information
timgates42 authored Dec 11, 2020
1 parent 0a9bbd6 commit ab43a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/path/path.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ void chop_finality(char *path)

/**
* Put in @path the result of readlink(/proc/@pid/fd/@fd). This
* function returns -errno if an error occured, othrwise 0.
* function returns -errno if an error occured, otherwise 0.
*/
int readlink_proc_pid_fd(pid_t pid, int fd, char path[PATH_MAX])
{
Expand Down

0 comments on commit ab43a25

Please sign in to comment.