diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2011-11-15 06:44:07 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2011-11-15 06:44:07 +0000 |
commit | 37d6f8a9e68d1c220baf8591ccc26900c874bb2b (patch) | |
tree | cbd8ed43ef703bf724c052cbf7053975612ec9cc /usr.sbin/pmcstat/pmcpl_gprof.c | |
parent | 35ee51e29118c57d1ed6cf3a2c7aca6db8b66b10 (diff) | |
download | src-37d6f8a9e68d1c220baf8591ccc26900c874bb2b.tar.gz src-37d6f8a9e68d1c220baf8591ccc26900c874bb2b.zip |
Improve the chances of matching an outputted string with the line of code.
Notes
Notes:
svn path=/head/; revision=227524
Diffstat (limited to 'usr.sbin/pmcstat/pmcpl_gprof.c')
-rw-r--r-- | usr.sbin/pmcstat/pmcpl_gprof.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/pmcstat/pmcpl_gprof.c b/usr.sbin/pmcstat/pmcpl_gprof.c index 2027ecf38e71..8e4cc79a6967 100644 --- a/usr.sbin/pmcstat/pmcpl_gprof.c +++ b/usr.sbin/pmcstat/pmcpl_gprof.c @@ -333,8 +333,9 @@ pmcpl_gmon_initimage(struct pmcstat_image *pi) count = 0; do { if (++count > 999) - errx(EX_CANTCREAT, "ERROR: cannot create a " - "gmon file for \"%s\"", name); + errx(EX_CANTCREAT, + "ERROR: cannot create a gmon file for" + " \"%s\"", name); snprintf(name, sizeof(name), "%.*s~%3.3d.gmon", nlen, sn, count); if (pmcstat_string_lookup(name) == NULL) { @@ -516,8 +517,8 @@ pmcpl_gmon_shutdown(FILE *mf) pgf->pgf_pmcid), pgf->pgf_nsamples); if (pgf->pgf_overflow && args.pa_verbosity >= 1) - warnx("WARNING: profile \"%s\" " - "overflowed.", + warnx( +"WARNING: profile \"%s\" overflowed.", pmcstat_string_unintern( pgf->pgf_name)); } |