Index: pgstat.c
===================================================================
RCS file: /cvsroot/pgsql/src/backend/postmaster/pgstat.c,v
retrieving revision 1.140.2.2
diff -c -r1.140.2.2 pgstat.c
*** pgstat.c	26 Jan 2007 20:07:01 -0000	1.140.2.2
--- pgstat.c	1 Mar 2007 20:04:50 -0000
***************
*** 1689,1695 ****
  	/* Preset the delay between status file writes */
  	MemSet(&write_timeout, 0, sizeof(struct itimerval));
  	write_timeout.it_value.tv_sec = PGSTAT_STAT_INTERVAL / 1000;
! 	write_timeout.it_value.tv_usec = PGSTAT_STAT_INTERVAL % 1000;
  
  	/*
  	 * Read in an existing statistics stats file or initialize the stats to
--- 1689,1695 ----
  	/* Preset the delay between status file writes */
  	MemSet(&write_timeout, 0, sizeof(struct itimerval));
  	write_timeout.it_value.tv_sec = PGSTAT_STAT_INTERVAL / 1000;
! 	write_timeout.it_value.tv_usec = (PGSTAT_STAT_INTERVAL % 1000) * 1000;
  
  	/*
  	 * Read in an existing statistics stats file or initialize the stats to
