diff options
author | Jeremy Allison <jra@samba.org> | 2000-01-12 02:52:42 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-01-12 02:52:42 +0000 |
commit | a2dac5f8f22ac58fbc3178e90288444f24190c8b (patch) | |
tree | ebb8725845c29163124c563a7fbbdc333310d99d | |
parent | 50be4e1f34e8ceb9f516c0755edf77bb32f03475 (diff) | |
download | samba-a2dac5f8f22ac58fbc3178e90288444f24190c8b.tar.gz samba-a2dac5f8f22ac58fbc3178e90288444f24190c8b.tar.bz2 samba-a2dac5f8f22ac58fbc3178e90288444f24190c8b.zip |
Use slprintf not snprintf.
Jeremy.
(This used to be commit b0a5ba9e01e71a64c7e693b6bf3f9bd499d3e095)
-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 ddb91ab498..bd06d3f235 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); |