Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2016 23:57:57 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r300892 - head/sys/dev/filemon
Message-ID:  <201605272357.u4RNvvLj017740@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Fri May 27 23:57:57 2016
New Revision: 300892
URL: https://svnweb.freebsd.org/changeset/base/300892

Log:
  Rename function to be less generic.
  
  MFC after:	2 weeks
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/sys/dev/filemon/filemon.c

Modified: head/sys/dev/filemon/filemon.c
==============================================================================
--- head/sys/dev/filemon/filemon.c	Fri May 27 23:57:53 2016	(r300891)
+++ head/sys/dev/filemon/filemon.c	Fri May 27 23:57:57 2016	(r300892)
@@ -191,7 +191,7 @@ filemon_drop(struct filemon *filemon)
 #include "filemon_wrapper.c"
 
 static void
-filemon_comment(struct filemon *filemon)
+filemon_write_header(struct filemon *filemon)
 {
 	int len;
 	struct timeval now;
@@ -383,7 +383,7 @@ filemon_ioctl(struct cdev *dev, u_long c
 		    &filemon->fp);
 		if (error == 0)
 			/* Write the file header. */
-			filemon_comment(filemon);
+			filemon_write_header(filemon);
 		break;
 
 	/* Set the monitored process ID. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605272357.u4RNvvLj017740>