diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/savedir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/savedir.c b/lib/savedir.c index 31aeb9af0..5987319d0 100644 --- a/lib/savedir.c +++ b/lib/savedir.c @@ -102,7 +102,7 @@ savedir (const char *dir, off_t name_size) || (dp->d_name[1] != '\0' && (dp->d_name[1] != '.' || dp->d_name[2] != '\0'))) { - size_t off_t = (namep - name_space) + NAMLEN (dp) + 2; + off_t size_needed = (namep - name_space) + NAMLEN (dp) + 2; if (size_needed > name_size) { |