parameter 'id' not found in the function declaration
diff --git a/include/git2/tree.h b/include/git2/tree.h
index a38215f..4740b1f 100644
--- a/include/git2/tree.h
+++ b/include/git2/tree.h
@@ -381,7 +381,7 @@ GIT_EXTERN(int) git_treebuilder_write(
*
* @see git_treebuilder_write
*
- * @param id Pointer to store the OID of the newly written tree
+ * @param oid Pointer to store the OID of the newly written tree
* @param bld Tree builder to write
* @param tree Shared buffer for writing the tree. Will be grown as necessary.
* @return 0 or an error code