Fix typo setting user_specified variable when parsing -Z option.

PR 23698
	* gprof.c (main): Fix typo setting user_specified variable when
	parsing -Z option.
This commit is contained in:
Nick Clifton 2018-10-01 17:17:54 +01:00
parent ff34e6ae38
commit a0389de085
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2018-10-01 Nick Clifton <nickc@redhat.com>
PR 23698
* gprof.c (main): Fix typo setting user_specified variable when
parsing -Z option.
2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
* gprof.texi: Use command-line consistently when used in a compount

View File

@ -452,7 +452,7 @@ This program is free software. This program has absolutely no warranty.\n"));
{
output_style &= ~STYLE_EXEC_COUNTS;
}
user_specified |= STYLE_ANNOTATED_SOURCE;
user_specified |= STYLE_EXEC_COUNTS;
break;
case OPTION_DEMANGLE:
demangle = TRUE;