svn commit: r252376 - head/lib/libutil

Tim Kientzle kientzle at FreeBSD.org
Sat Jun 29 15:52:49 UTC 2013


Author: kientzle
Date: Sat Jun 29 15:52:48 2013
New Revision: 252376
URL: http://svnweb.freebsd.org/changeset/base/252376

Log:
  Fix -Wunsequenced warning
  
  Submitted by:	dt71 at gmx.com

Modified:
  head/lib/libutil/login_times.c

Modified: head/lib/libutil/login_times.c
==============================================================================
--- head/lib/libutil/login_times.c	Sat Jun 29 15:51:27 2013	(r252375)
+++ head/lib/libutil/login_times.c	Sat Jun 29 15:52:48 2013	(r252376)
@@ -96,7 +96,7 @@ parse_lt(const char *str)
 	else
 	    m.lt_start = 0;
 	if (*p == '-')
-	    p = parse_time(++p, &m.lt_end);
+	    p = parse_time(p + 1, &m.lt_end);
 	else
 	    m.lt_end = 1440;
 


More information about the svn-src-head mailing list