diff options
-rw-r--r-- | mount.cifs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mount.cifs.c b/mount.cifs.c index ff07232..7c949cf 100644 --- a/mount.cifs.c +++ b/mount.cifs.c @@ -1292,7 +1292,7 @@ nocopy: strlcat(out, ",", MAX_OPTIONS_LEN); out_len++; } - snprintf(out + out_len, word_len + 11, "snapshot=%s", txtbuf); + snprintf(out + out_len, word_len + 10, "snapshot=%s", txtbuf); out_len = strlen(out); } |