Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 Fix sample code fragment



details:   https://anonhg.NetBSD.org/src/rev/befd2775765c
branches:  trunk
changeset: 811888:befd2775765c
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Nov 21 00:35:59 2015 +0000

description:
Fix sample code fragment

diffstat:

 share/man/man4/filemon.4 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 05edb8448f5a -r befd2775765c share/man/man4/filemon.4
--- a/share/man/man4/filemon.4  Fri Nov 20 23:43:52 2015 +0000
+++ b/share/man/man4/filemon.4  Sat Nov 21 00:35:59 2015 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: filemon.4,v 1.10 2015/11/20 03:13:35 pgoyette Exp $
+.\"    $NetBSD: filemon.4,v 1.11 2015/11/21 00:35:59 pgoyette Exp $
 .\"
 .\" Copyright (c) 2011, Juniper Networks, Inc.
 .\"
@@ -23,7 +23,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 .\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd November 20, 2015
+.Dd November 21, 2015
 .Dt FILEMON 4
 .Os
 .Sh NAME
@@ -161,7 +161,7 @@
 #include <filemon.h>
 
 pid_d pid;
-int fd, tfd;
+int filemon_fd, temp_fd;
 int status;
 
 filemon_fd = open("/dev/filemon", O_RDWR);



Home | Main Index | Thread Index | Old Index