use strbuf_addstr() instead of strbuf_addf() with "%s"
[gitweb.git] / sequencer.c
index a33c39b64fbd9cf42e5bd531488f7d2366bd167b..80a17bb3bd01064c80550e6e302750c9e9c3a7ad 100644 (file)
@@ -112,7 +112,7 @@ static void remove_sequencer_state(void)
 {
        struct strbuf seq_dir = STRBUF_INIT;
 
-       strbuf_addf(&seq_dir, "%s", git_path(SEQ_DIR));
+       strbuf_addstr(&seq_dir, git_path(SEQ_DIR));
        remove_dir_recursively(&seq_dir, 0);
        strbuf_release(&seq_dir);
 }