2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

crtools: Use -o argument directly

There is no much point to strdup this value
obtained from command line. It sits in environment
and we don't modify it at all.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov
2013-10-10 11:11:05 +04:00
committed by Pavel Emelyanov
parent 664659a0ad
commit fa73b3e799

View File

@@ -162,7 +162,7 @@ int main(int argc, char *argv[])
}
break;
case 'o':
opts.output = strdup(optarg);
opts.output = optarg;
if (log_init(optarg))
return -1;
log_inited = 1;