summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/imgtool/main.cpp
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2017-01-15 15:02:47 -0500
committer GitHub <noreply@github.com>2017-01-15 15:02:47 -0500
commit063ea0512c45447dc44c28971deaccd0712160f3 (patch)
tree9dac05e451568901271c4930c85c6b03a7dc2651 /src/tools/imgtool/main.cpp
parent4d8258dbcb1ab5f603015f03f9b9432fedb3f88e (diff)
parent6a85ec09858557b907f6643572e29802c540f4d5 (diff)
Merge pull request #1979 from npwoods/imgtool_fix_attr_listing
[Imgtool] Fixed recently introduce bug on attribute listings
Diffstat (limited to 'src/tools/imgtool/main.cpp')
-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')