]> git.ipfire.org Git - thirdparty/git.git/blobdiff - sub-process.c
Merge tag 'l10n-2.24.0-rnd2' of https://github.com/git-l10n/git-po
[thirdparty/git.git] / sub-process.c
index ad94f7266544a0aab830e352805257025b6af744..1b1af9dcbd95990dfd9d0ef11471f766a6015a80 100644 (file)
@@ -24,8 +24,7 @@ struct subprocess_entry *subprocess_find_entry(struct hashmap *hashmap, const ch
 
        hashmap_entry_init(&key.ent, strhash(cmd));
        key.cmd = cmd;
-       return hashmap_get_entry(hashmap, &key, NULL,
-                               struct subprocess_entry, ent);
+       return hashmap_get_entry(hashmap, &key, ent, NULL);
 }
 
 int subprocess_read_status(int fd, struct strbuf *status)