summaryrefslogtreecommitdiff
path: root/util/symlinks.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/symlinks.c')
-rw-r--r--util/symlinks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/symlinks.c b/util/symlinks.c
index 600effac..e9d2b011 100644
--- a/util/symlinks.c
+++ b/util/symlinks.c
@@ -126,7 +126,7 @@ static int shorten_path (char *path, char *abspath)
/* get rid of unnecessary "../dir" sequences */
while (abspath && strlen(abspath) > 1 && (p = strstr(path,"../"))) {
- /* find innermost occurance of "../dir", and save "dir" */
+ /* find innermost occurrence of "../dir", and save "dir" */
int slashes = 2;
char *a, *s, *d = dir;
while ((s = strstr(p+3, "../"))) {