X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/26ef00bd3c6c66240a4640aa54db1106d8b901fc..8950ac03f8fd0fb645c7d2374195ea884d091f72:/rsync.c diff --git a/rsync.c b/rsync.c index 5ee50c08..3e50f38d 100644 --- a/rsync.c +++ b/rsync.c @@ -91,7 +91,7 @@ int delete_file(char *fname) if (strcmp(dname,".")==0 || strcmp(dname,"..")==0) continue; - slprintf(buf, sizeof(buf), "%s/%s", fname, dname); + snprintf(buf, sizeof(buf), "%s/%s", fname, dname); if (verbose > 0) rprintf(FINFO,"deleting %s\n", buf); if (delete_file(buf) != 0) {