sys/boot/common: Simpler fix for "ls -l", which also works on cd9660 fs.
authorImre Vadász <imre@vdsz.com>
Mon, 22 Feb 2016 21:03:15 +0000 (22:03 +0100)
committerImre Vadász <imre@vdsz.com>
Mon, 22 Feb 2016 21:11:33 +0000 (22:11 +0100)
commita79c616a3bc5d4aa395e6dc4e86182fbec87c49f
treee6e87ca66d8babe9adfcb44c7d5aff9a7e61958d
parent233d54ad3d1bfc58bbe9c408b51216c4cf1c9de8
sys/boot/common: Simpler fix for "ls -l", which also works on cd9660 fs.

* Blindly using "." as path instead of "" when no explicit path is given
  for ls, doesn't work on the cd9660 filesystem at the moment.

* Just omitting the "/" at the beginning of the buffer, when building the
  path for calling rel_stat() seems better.
sys/boot/common/ls.c