sbin/hammer: Make strtrl() api right [3/3]
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Fri, 10 Apr 2015 20:32:18 +0000 (05:32 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 12 Apr 2015 10:40:21 +0000 (19:40 +0900)
commitf907ba8c7b0e3a75e8b8577732a3bdcf30c5753c
treec53a819cd3db67092adb6fbea89697fe28312a37
parentf2c96727e73f175f2a675b119ddbfec4bb18f5b4
sbin/hammer: Make strtrl() api right [3/3]

- Fix changes made by commit 3c10747d.

- while (p-- > s && *p == '/')
  is very obscure and not even sure if this code is portable.
  Make it explicit.
sbin/hammer/cmd_pseudofs.c