diff options
Diffstat (limited to 'parsedpy.c')
-rw-r--r-- | parsedpy.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -173,7 +173,7 @@ parse_displayname (const char *displayname, strlcpy(path, displayname, sizeof(path)); #else strncpy(path, displayname, sizeof(path)); - buf[sizeof(path) - 1] = '\0'; + path[sizeof(path) - 1] = '\0'; #endif if (0 == stat(path, &sbuf)) { family = FamilyLocal; |