svn commit: r189062 - head/sys/kern

Ed Schouten ed at FreeBSD.org
Thu Feb 26 02:38:20 PST 2009


Author: ed
Date: Thu Feb 26 10:38:19 2009
New Revision: 189062
URL: http://svn.freebsd.org/changeset/base/189062

Log:
  Silence compiler warning inside our ^T handler.
  
  It turns out we're casting fixpt_t* to int*.
  
  Spotted by:	clang

Modified:
  head/sys/kern/tty_info.c

Modified: head/sys/kern/tty_info.c
==============================================================================
--- head/sys/kern/tty_info.c	Thu Feb 26 10:28:32 2009	(r189061)
+++ head/sys/kern/tty_info.c	Thu Feb 26 10:38:19 2009	(r189062)
@@ -76,7 +76,7 @@ __FBSDID("$FreeBSD$");
 #define BOTH    3
 
 static int
-proc_sum(struct proc *p, int *estcpup)
+proc_sum(struct proc *p, fixpt_t *estcpup)
 {
 	struct thread *td;
 	int estcpu;


More information about the svn-src-head mailing list