[Midnightbsd-cvs] src [11484] trunk/usr.bin/mail/util.c: cast fix

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Jul 7 13:29:11 EDT 2018


Revision: 11484
          http://svnweb.midnightbsd.org/src/?rev=11484
Author:   laffer1
Date:     2018-07-07 13:29:10 -0400 (Sat, 07 Jul 2018)
Log Message:
-----------
cast fix

Modified Paths:
--------------
    trunk/usr.bin/mail/util.c

Modified: trunk/usr.bin/mail/util.c
===================================================================
--- trunk/usr.bin/mail/util.c	2018-07-07 17:28:53 UTC (rev 11483)
+++ trunk/usr.bin/mail/util.c	2018-07-07 17:29:10 UTC (rev 11484)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*
  * Copyright (c) 1980, 1993
  *	The Regents of the University of California.  All rights reserved.
@@ -33,7 +34,7 @@
 #endif
 #endif /* not lint */
 #include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/mail/util.c 246860 2013-02-15 23:59:57Z dim $");
 
 #include <sys/time.h>
 
@@ -324,7 +325,7 @@
 
 	if (stat(name, &sb))
 		return;
-	(void)gettimeofday(&tv[0], (struct timezone *)NULL);
+	(void)gettimeofday(&tv[0], NULL);
 	tv[0].tv_sec++;
 	TIMESPEC_TO_TIMEVAL(&tv[1], &sb.st_mtim);
 	(void)utimes(name, tv);
@@ -550,7 +551,7 @@
 }
 
 /*
- * Count the occurances of c in str
+ * Count the occurrences of c in str
  */
 int
 charcount(char *str, int c)



More information about the Midnightbsd-cvs mailing list