summaryrefslogtreecommitdiff
path: root/usr/src/man/man3cpc
diff options
context:
space:
mode:
authorBart Coddens <bart.coddens@gmail.com>2013-09-10 20:33:47 +0200
committerRobert Mustacchi <rm@joyent.com>2013-09-13 17:04:07 -0700
commit98cdf45a92ada981b8c4e22ac69956b4139b1341 (patch)
tree04b04bdbfcbfcc0c197d0c65bf2d337136022874 /usr/src/man/man3cpc
parenta7fe1d5bb55904d4c79638b8778bc9dd8ed7fd7b (diff)
downloadillumos-gate-98cdf45a92ada981b8c4e22ac69956b4139b1341.tar.gz
4023 Properly escape newlines and carriage returns in man pages
Reviewed by: Gary Mills <gary_mills@fastmail.fm> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/man/man3cpc')
-rw-r--r--usr/src/man/man3cpc/cpc_bind_event.3cpc8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/man/man3cpc/cpc_bind_event.3cpc b/usr/src/man/man3cpc/cpc_bind_event.3cpc
index cfc2878b25..23b372da83 100644
--- a/usr/src/man/man3cpc/cpc_bind_event.3cpc
+++ b/usr/src/man/man3cpc/cpc_bind_event.3cpc
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH CPC_BIND_EVENT 3CPC "Mar 02, 2007"
+.TH CPC_BIND_EVENT 3CPC "Sep 10, 2013"
.SH NAME
cpc_bind_event, cpc_take_sample, cpc_rele \- use CPU performance counters on
lwps
@@ -184,7 +184,7 @@ for (iter = 1; iter <= 20; iter++) {
if (cpc_take_sample(&after) == -1)
break;
- (void) printf("%3d: %" PRId64 " %" PRId64 "\n", iter,
+ (void) printf("%3d: %" PRId64 " %" PRId64 "\en", iter,
after.ce_pic[0] - before.ce_pic[0],
after.ce_pic[1] - before.ce_pic[1]);
}
@@ -229,7 +229,7 @@ if (sig != SIGEMT || sip->si_code != EMT_CPCOVF) {
return;
}
-(void) printf("lwp%d - si_addr %p ucontext: %%pc %p %%sp %p\n",
+(void) printf("lwp%d - si_addr %p ucontext: %%pc %p %%sp %p\en",
_lwp_self(), (void *)sip->si_addr,
(void *)uap->uc_mcontext.gregs[PC],
(void *)uap->uc_mcontext.gregs[USP]);
@@ -237,7 +237,7 @@ if (sig != SIGEMT || sip->si_code != EMT_CPCOVF) {
if (cpc_take_sample(&sample) == -1)
error("can't sample: %s", strerror(errno));
-(void) printf("0x%" PRIx64 " 0x%" PRIx64 "\n",
+(void) printf("0x%" PRIx64 " 0x%" PRIx64 "\en",
sample.ce_pic[0], sample.ce_pic[1]);
(void) fflush(stdout);