mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
Er, actually make this test meaningful. It now aborts correctly if you try to
launch stage2 directly, rather than giving an obscure error about the tool later on. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2527
This commit is contained in:
parent
1c5c73edea
commit
dbc191490a
@ -473,8 +473,8 @@ static void scan_auxv(void)
|
||||
break;
|
||||
}
|
||||
|
||||
if ( ! (1|2) ) {
|
||||
fprintf(stderr, "stage2 must be launched by stage1\n");
|
||||
if ( found != (1|2) ) {
|
||||
fprintf(stderr, "valgrind: stage2 must be launched by stage1\n");
|
||||
exit(127);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user