git: sbin/hammer: Make strtrl() api right [1/3]

Tomohiro Kusumi tkusumi at
Sun Apr 12 04:36:22 PDT 2015

commit ea657cf34bf229a82bc08e9408712e7c08cd6eca
Author: Tomohiro Kusumi <kusumi.tomohiro at>
Date:   Sat Apr 11 05:32:17 2015 +0900

    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.

Summary of changes:
 sbin/hammer/cmd_pseudofs.c | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list