]> granicus.if.org Git - strace/commit
tests/attach-p-cmd-cmd.c: fix potential errno clobbering
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 23 May 2016 16:39:23 +0000 (16:39 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 23 May 2016 16:39:23 +0000 (16:39 +0000)
commit475d2b5da6dda57abdf10e26d1f3699e6f7c9619
treeffa88a29c0db754f87a446c3e4af50d7773b69f8
parent4ea65fb549ae476829293b1c44625bfb0bad9932
tests/attach-p-cmd-cmd.c: fix potential errno clobbering

* tests/attach-p-cmd-cmd.c (main): Call getpid before chdir.
tests/attach-p-cmd-cmd.c