summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pmcannotate/pmcannotate.c
diff options
context:
space:
mode:
authorhiren <hiren@FreeBSD.org>2013-05-06 18:30:49 +0000
committerhiren <hiren@FreeBSD.org>2013-05-06 18:30:49 +0000
commit7608fe34250103a7b9545d34936ae6ec135eb9d1 (patch)
treecdc045f0a92d0342f1000df0041350f931ca1f28 /usr.sbin/pmcannotate/pmcannotate.c
parentfb6ba90052397de5bf2026022b978edba1ec71bb (diff)
downloadFreeBSD-src-7608fe34250103a7b9545d34936ae6ec135eb9d1.zip
FreeBSD-src-7608fe34250103a7b9545d34936ae6ec135eb9d1.tar.gz
objdump output changed indentation from 1 space to 2 spaces somewhere between
FreeBSD9 and CURRENT. Removing this rather unnecessary check which expects the second character of assembly line to be a hex number to make pmcannotate actually annotate the code and assembly. PR: 165654 Submitted by: Vitaly Magerya <vmagerya@gmail.com> Reviewed by: attilio Approved by: sbruno (mentor) MFC after: 3 weeks
Diffstat (limited to 'usr.sbin/pmcannotate/pmcannotate.c')
-rw-r--r--usr.sbin/pmcannotate/pmcannotate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/pmcannotate/pmcannotate.c b/usr.sbin/pmcannotate/pmcannotate.c
index 0a9d0d7..374290f 100644
--- a/usr.sbin/pmcannotate/pmcannotate.c
+++ b/usr.sbin/pmcannotate/pmcannotate.c
@@ -118,8 +118,6 @@ isasminline(const char *str)
void *ptr;
int nbytes;
- if (isxdigit(str[1]) == 0)
- return (0);
if (sscanf(str, " %p%n", &ptr, &nbytes) != 1)
return (0);
if (str[nbytes] != ':' || isspace(str[nbytes + 1]) == 0)
OpenPOWER on IntegriCloud