Author: bapt Date: Wed Apr 20 20:54:47 2016 New Revision: 298369 URL: https://svnweb.freebsd.org/changeset/base/298369
Log: Fix typo: actually test the return of strchr(3) Reported by: Coverity CID: 1007335 MFC after: 3 days Modified: head/usr.bin/at/at.c Modified: head/usr.bin/at/at.c ============================================================================== --- head/usr.bin/at/at.c Wed Apr 20 20:48:54 2016 (r298368) +++ head/usr.bin/at/at.c Wed Apr 20 20:54:47 2016 (r298369) @@ -351,7 +351,7 @@ writefile(time_t runtimer, char queue) char *eqp; eqp = strchr(*atenv, '='); - if (ap == NULL) + if (eqp == NULL) eqp = *atenv; else { _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"