--- src/bin/mv/mv.c 2005/04/01 21:35:10 1.10 +++ src/bin/mv/mv.c 2005/06/04 20:35:06 1.11 @@ -328,7 +328,8 @@ err: if (unlink(to)) static int copy(const char *from, const char *to) { - int pid, status; + int status; + pid_t pid; if ((pid = fork()) == 0) { execl(_PATH_CP, "mv", vflg ? "-PRpv" : "-PRp", "--", from, to,