svn commit: r292093 - head/usr.sbin/sesutil
Baptiste Daroussin
bapt at FreeBSD.org
Fri Dec 11 11:08:02 UTC 2015
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);
More information about the svn-src-head
mailing list