summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2017-01-15 11:26:34 -0500
committer Nathan Woods <npwoods@mess.org>2017-01-15 11:46:25 -0500
commit6a85ec09858557b907f6643572e29802c540f4d5 (patch)
tree7533025a7e7fc14a2aee884959184bf8b00759a5 /src/tools
parentfa6442a5e64bf2dee0e082c25ed10c342b7f1fd0 (diff)
[Imgtool] Fixed recently introduce bug on attribute listings
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/imgtool/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/imgtool/main.cpp b/src/tools/imgtool/main.cpp
index 28029fe0358..895f96145b1 100644
--- a/src/tools/imgtool/main.cpp
+++ b/src/tools/imgtool/main.cpp
@@ -245,7 +245,7 @@ static int cmd_dir(const struct command *c, int argc, char *argv[])
L"%*s %*s %*s %*s\n",
-columnwidth_filename, wstring_from_utf8(ent.filename),
columnwidth_filesize, wstring_from_utf8(filesize_string),
- columnwidth_attributes, ent.attr,
+ columnwidth_attributes, wstring_from_utf8(ent.attr),
columnwidth_lastmodified, wstring_from_utf8(last_modified));
if (ent.softlink && ent.softlink[0] != '\0')