use strbuf_addstr() for adding strings to strbufs
[gitweb.git] / sequencer.c
index 60636ce54b615e19a22dc2396211d56540b4e920..ba95cefc7d22d849163d28795d644995641606ef 100644 (file)
@@ -203,7 +203,7 @@ int sequencer_remove_state(struct replay_opts *opts)
                free(opts->xopts[i]);
        free(opts->xopts);
 
-       strbuf_addf(&dir, "%s", get_dir(opts));
+       strbuf_addstr(&dir, get_dir(opts));
        remove_dir_recursively(&dir, 0);
        strbuf_release(&dir);