Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Feb 2012 19:25:42 +0000 (UTC)
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r232194 - user/gabor/tre-integration/usr.bin/grep
Message-ID:  <201202261925.q1QJPgdo079658@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gabor
Date: Sun Feb 26 19:25:42 2012
New Revision: 232194
URL: http://svn.freebsd.org/changeset/base/232194

Log:
  - Fix compilation

Modified:
  user/gabor/tre-integration/usr.bin/grep/util.c

Modified: user/gabor/tre-integration/usr.bin/grep/util.c
==============================================================================
--- user/gabor/tre-integration/usr.bin/grep/util.c	Sun Feb 26 19:24:39 2012	(r232193)
+++ user/gabor/tre-integration/usr.bin/grep/util.c	Sun Feb 26 19:25:42 2012	(r232194)
@@ -285,7 +285,7 @@ procline(struct str *l, int nottext)
 		    (size_t)pmatch.rm_eo;
 		if (r == REG_NOMATCH)
 			continue;
-		else if (ret != REG_OK)
+		else if (r != REG_OK)
 		  // XXX: better error msg?
 		  errx(2, "Failed processing input.");
 



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