aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file.c b/src/file.c
index 5c36b77..eb7135a 100644
--- a/src/file.c
+++ b/src/file.c
@@ -86,6 +86,7 @@ char *my_readlink(const char *path)
continue;
}
+ buf[res] = '\0';
break;
}