From 950518ba26fdc1656b1e5ea21c09e311ce69b0c0 Mon Sep 17 00:00:00 2001 From: ngie Date: Thu, 23 Mar 2017 04:50:50 +0000 Subject: MFC r315363,r315365: r315363: Fix manlint errors - Add missing comma after kvm_dpcpu_setcpu .Nm macro use (multiple .Nm entries should be separated by commas) - Add missing section for kvm_dpcpu_setcpu Xr. r315365: Tweak r315363 slightly I noticed after commit that kvm_dpcpu_setcpu was defined in the manpage. Thus, the correct macro for the function reference is .Fn, not .Xr. --- lib/libkvm/kvm_getpcpu.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/libkvm/kvm_getpcpu.3 b/lib/libkvm/kvm_getpcpu.3 index 13192c2..6d654b7 100644 --- a/lib/libkvm/kvm_getpcpu.3 +++ b/lib/libkvm/kvm_getpcpu.3 @@ -28,11 +28,11 @@ .\" .\" $FreeBSD$ .\" -.Dd February 12, 2014 +.Dd March 15, 2017 .Dt KVM_GETPCPU 3 .Os .Sh NAME -.Nm kvm_dpcpu_setcpu +.Nm kvm_dpcpu_setcpu , .Nm kvm_getmaxcpu , .Nm kvm_getpcpu .Nd access per-CPU data @@ -120,7 +120,7 @@ Symbols for dynamic per-CPU data are accessed via as with other symbols. .Nm libkvm maintains a notion of the "current CPU", set by -.Xr kvm_dpcpu_setcpu , +.Fn kvm_dpcpu_setcpu , which defaults to 0. Once another CPU is selected, .Xr kvm_nlist 3 -- cgit v1.1