]> granicus.if.org Git - strace/commit
strace.c: avoid duplication of a format string in attach_tcb
authorEugene Syromiatnikov <esyr@redhat.com>
Fri, 4 Aug 2017 06:52:27 +0000 (08:52 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 7 Jan 2018 16:46:32 +0000 (16:46 +0000)
commit6b3f42364052478df42de272bb5183d902d96cf5
treed78286e592e91c939d4bbfe0fe6f53337afe6384
parentfef5bc0ef2ce118bea71da7e67dae477d7021366
strace.c: avoid duplication of a format string in attach_tcb

* strace.c (attach_tcb): Add task_path variable with the output format.
Use it for the procdir declaration and xsprintf format string argument.
strace.c