svn commit: r300892 - head/sys/dev/filemon

Bryan Drewery bdrewery at FreeBSD.org
Fri May 27 23:57:58 UTC 2016


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. */


More information about the svn-src-head mailing list