summaryrefslogtreecommitdiff
path: root/usr.bin/gprof
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-10-08 19:55:40 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-10-08 19:55:40 +0000
commite32bbf041c1f1cd91bf7016119cbabe9b680deb5 (patch)
treef7cd41da2b42a3f3474a1180cd16deed5232a082 /usr.bin/gprof
parent472ee6023efd227997712117c6e19b1e7f799040 (diff)
findcall() for the -c option is implemented on mips64, not sparc64
Diffstat (limited to 'usr.bin/gprof')
-rw-r--r--usr.bin/gprof/gprof.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/gprof/gprof.c b/usr.bin/gprof/gprof.c
index 6eaca0a8643..950c6555368 100644
--- a/usr.bin/gprof/gprof.c
+++ b/usr.bin/gprof/gprof.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gprof.c,v 1.25 2016/09/01 09:49:44 tedu Exp $ */
+/* $OpenBSD: gprof.c,v 1.26 2016/10/08 19:55:39 guenther Exp $ */
/* $NetBSD: gprof.c,v 1.8 1995/04/19 07:15:59 cgd Exp $ */
/*
@@ -65,7 +65,7 @@ main(int argc, char *argv[])
cyclethreshold = atoi( *++argv );
break;
case 'c':
-#if defined(__i386__) || defined(__sparc64__)
+#if defined(__i386__) || defined(__mips64__)
cflag = TRUE;
#else
fprintf(stderr, "%s: -c isn't supported on this architecture yet\n", __progname);