X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/951e826b75c4a4e6bc066e248d7489fb6eba6fde..adc2476fa213797d849ae80fa8b5fcd9eba5dc4f:/exclude.c diff --git a/exclude.c b/exclude.c index 080aa492..6eb83cb6 100644 --- a/exclude.c +++ b/exclude.c @@ -36,7 +36,7 @@ extern int sanitize_paths; extern int protocol_version; extern int module_id; -extern char curr_dir[]; +extern char curr_dir[MAXPATHLEN]; extern unsigned int curr_dir_len; extern unsigned int module_dirlen; @@ -475,7 +475,7 @@ void *push_local_filters(const char *dir, unsigned int dirlen) XFLG_ANCHORED2ABS); } else { io_error |= IOERR_GENERAL; - rprintf(FINFO, + rprintf(FERROR, "cannot add local filter rules in long-named directory: %s\n", full_fname(dirbuf)); }