Merge branch 'rb/compat-poll-fix'
[gitweb.git] / sequencer.c
index b8c1e876fa7b57986e6ae93873e23f87c45b9e49..7886e2269eb7813cdf9f908002ec70a9561a153c 100644 (file)
@@ -204,7 +204,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);