diff options
author | bapt <bapt@FreeBSD.org> | 2015-12-11 11:08:00 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-12-11 11:08:00 +0000 |
commit | 70de7ec378cde8a238765dc97dd7d2666294c7ab (patch) | |
tree | 0edecc586ab5f1718b3366ee644bd0412c9c6d52 /usr.sbin/sesutil | |
parent | bbf8b22f967067189bd345d1e089c75332b6a329 (diff) | |
download | FreeBSD-src-70de7ec378cde8a238765dc97dd7d2666294c7ab.zip FreeBSD-src-70de7ec378cde8a238765dc97dd7d2666294c7ab.tar.gz |
sesutils, pass the correct element type when printing the status of a given
element of the ses.
Sponsored by: Gandi.net
Diffstat (limited to 'usr.sbin/sesutil')
-rw-r--r-- | usr.sbin/sesutil/sesutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sesutil/sesutil.c b/usr.sbin/sesutil/sesutil.c index 7ce9045..2913f28 100644 --- a/usr.sbin/sesutil/sesutil.c +++ b/usr.sbin/sesutil/sesutil.c @@ -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); |