mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-10 05:18:36 +03:00
Just space moving
Don't leave space on EOL.
This commit is contained in:
parent
00422596c1
commit
059ff7d5ff
@ -35,7 +35,7 @@ static char *_verbose_args(const char *const argv[], char *buf, size_t sz)
|
||||
buf[0] = '\0';
|
||||
for (i = 0; argv[i]; i++) {
|
||||
if ((len = dm_snprintf(buf + pos, sz - pos,
|
||||
"%s ", argv[i])) < 0)
|
||||
" %s", argv[i])) < 0)
|
||||
/* Truncated */
|
||||
break;
|
||||
pos += len;
|
||||
@ -62,7 +62,7 @@ int exec_cmd(struct cmd_context *cmd, const char *const argv[],
|
||||
if (!sync_local_dev_names(cmd)) /* Flush ops and reset dm cookie */
|
||||
return_0;
|
||||
|
||||
log_verbose("Executing: %s", _verbose_args(argv, buf, sizeof(buf)));
|
||||
log_verbose("Executing:%s", _verbose_args(argv, buf, sizeof(buf)));
|
||||
|
||||
if ((pid = fork()) == -1) {
|
||||
log_error("fork failed: %s", strerror(errno));
|
||||
|
Loading…
Reference in New Issue
Block a user