s4-client: Fix cifsdd arg parsing for skip
authorAndreas Schneider <asn@samba.org>
Thu, 11 Feb 2016 09:47:58 +0000 (10:47 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 18 Feb 2016 14:00:17 +0000 (15:00 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11730

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source4/client/cifsdd.c

index 7d412a5d807d24b3b02f3271a816483169d50b48..48ffe18e3c7b7036a7a8771e53e982e943fc532a 100644 (file)
@@ -571,7 +571,7 @@ int main(int argc, const char ** argv)
        /* Block counts. */
        set_arg_val("count", (uint64_t)-1);
        set_arg_val("seek", (uint64_t)0);
-       set_arg_val("seek", (uint64_t)0);
+       set_arg_val("skip", (uint64_t)0);
        /* Files. */
        set_arg_val("if", NULL);
        set_arg_val("of", NULL);