diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/hv/hv_fcopy_daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/hv/hv_fcopy_daemon.c b/tools/hv/hv_fcopy_daemon.c index f437d739f37d..1a238726dda6 100644 --- a/tools/hv/hv_fcopy_daemon.c +++ b/tools/hv/hv_fcopy_daemon.c | |||
@@ -51,7 +51,7 @@ static int hv_start_fcopy(struct hv_start_fcopy *smsg) | |||
51 | 51 | ||
52 | p = (char *)smsg->path_name; | 52 | p = (char *)smsg->path_name; |
53 | snprintf(target_fname, sizeof(target_fname), "%s/%s", | 53 | snprintf(target_fname, sizeof(target_fname), "%s/%s", |
54 | (char *)smsg->path_name, smsg->file_name); | 54 | (char *)smsg->path_name, (char *)smsg->file_name); |
55 | 55 | ||
56 | syslog(LOG_INFO, "Target file name: %s", target_fname); | 56 | syslog(LOG_INFO, "Target file name: %s", target_fname); |
57 | /* | 57 | /* |
@@ -137,7 +137,7 @@ void print_usage(char *argv[]) | |||
137 | 137 | ||
138 | int main(int argc, char *argv[]) | 138 | int main(int argc, char *argv[]) |
139 | { | 139 | { |
140 | int fd, fcopy_fd, len; | 140 | int fcopy_fd, len; |
141 | int error; | 141 | int error; |
142 | int daemonize = 1, long_index = 0, opt; | 142 | int daemonize = 1, long_index = 0, opt; |
143 | int version = FCOPY_CURRENT_VERSION; | 143 | int version = FCOPY_CURRENT_VERSION; |