#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
struct stat statbuf;
if (stat (local, &statbuf) == -1 ||
! (S_ISDIR (statbuf.st_mode))) {
- fprintf (stderr, _("copy-in: target '%s' is not a directory\n"), local);
+ fprintf (stderr, _("copy-out: target '%s' is not a directory\n"), local);
return -1;
}