Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2013 15:52:49 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r252376 - head/lib/libutil
Message-ID:  <201306291552.r5TFqnLV022460@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306291552.r5TFqnLV022460>