Date: Fri, 11 Dec 2015 11:08:01 +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: r292093 - head/usr.sbin/sesutil Message-ID: <201512111108.tBBB815N023861@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Fri Dec 11 11:08:00 2015 New Revision: 292093 URL: https://svnweb.freebsd.org/changeset/base/292093 Log: sesutils, pass the correct element type when printing the status of a given element of the ses. Sponsored by: Gandi.net Modified: head/usr.sbin/sesutil/sesutil.c Modified: head/usr.sbin/sesutil/sesutil.c ============================================================================== --- head/usr.sbin/sesutil/sesutil.c Fri Dec 11 10:58:26 2015 (r292092) +++ head/usr.sbin/sesutil/sesutil.c Fri Dec 11 11:08:00 2015 (r292093) @@ -392,7 +392,7 @@ objmap(int argc, char **argv __unused) printf("\tElement %u, Type: %s\n", e_ptr[j].elm_idx, geteltnm(e_ptr[j].elm_type)); printf("\t\tStatus: %s\n", - stat2ascii(e_ptr[i].elm_type, e_status.cstat)); + stat2ascii(e_ptr[j].elm_type, e_status.cstat)); if (e_desc.elm_desc_len > 0) { printf("\t\tDescription: %s\n", e_desc.elm_desc_str);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512111108.tBBB815N023861>