Date: Wed, 20 Apr 2016 20:54:47 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298369 - head/usr.bin/at Message-ID: <201604202054.u3KKsl67084439@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604202054.u3KKsl67084439>