diff options
author | Wayne Davison <wayned@samba.org> | 2005-02-07 20:36:43 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2005-02-07 20:36:43 +0000 |
commit | 4875d6b64dd0ed8d451746cc0cc609cff36192bd (patch) | |
tree | a67e793c04e5628b8bfbad50864d9b62aab936d8 /pipe.c | |
parent | 54b405985632b71444f215bb547a2b6a7f0f3637 (diff) | |
download | rsync-4875d6b64dd0ed8d451746cc0cc609cff36192bd.tar.gz rsync-4875d6b64dd0ed8d451746cc0cc609cff36192bd.tar.bz2 rsync-4875d6b64dd0ed8d451746cc0cc609cff36192bd.zip |
Adding more calls to safe_fname().
Diffstat (limited to 'pipe.c')
-rw-r--r-- | pipe.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -79,7 +79,8 @@ pid_t piped_child(char **command, int *f_in, int *f_out) if (blocking_io > 0) set_blocking(STDOUT_FILENO); execvp(command[0], command); - rsyserr(FERROR, errno, "Failed to exec %s", command[0]); + rsyserr(FERROR, errno, "Failed to exec %s", + safe_fname(command[0])); exit_cleanup(RERR_IPC); } |