diff options
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2016-10-04 19:46:35 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-10-11 16:17:08 (GMT) |
commit | 2f159402d9ab0dc642759d9eab3b002cde33064d (patch) | |
tree | 6f47d133408e3656f8846279410289627a161b2f /drivers/misc | |
parent | 80793db9091b40cf0078568bb5359be0e7f43e89 (diff) | |
download | u-boot-2f159402d9ab0dc642759d9eab3b002cde33064d.tar.xz |
sandbox/fs: Set correct filetype for unknown filetype
The "hostfs ls" command prefixes each directory entry with either DIR,
LNK or " " if it is a directory, symlink resp. regular file, or
"???" for any other or unknown type.
The latter only works if the type is set correctly, as the entry defaults
to OS_FILET_REG and e.g. socket files show up as regular files.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions