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

- Fix changes made by commit 3c10747d.

- There shouldn't be any reason to take char** for the first arg,
  but char* is enough.

- The second arg len can be calculated inside the function given
  that the 'path' is a C string.
sbin/hammer/cmd_pseudofs.c