diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/dfree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dfree.c b/source3/smbd/dfree.c index ddb91ab498a..bd06d3f2351 100644 --- a/source3/smbd/dfree.c +++ b/source3/smbd/dfree.c @@ -214,7 +214,7 @@ static SMB_BIG_UINT disk_free(char *path, BOOL small_query, char *p; FILE *pp; - snprintf (line, sizeof(pstring), "%s %s", dfree_command, path); + slprintf (line, sizeof(pstring) - 1, "%s %s", dfree_command, path); pp = popen(line, "r"); if (pp) { fgets(line, sizeof(pstring), pp); |