Replace uses of strdup with xstrdup.
[gitweb.git] / sha1_file.c
index 76f66e6a85c8f1327822708c5515ed6c28d508b6..4ef98053f8b5ba9988fd28afc60a1ae2fced93c9 100644 (file)
@@ -115,7 +115,7 @@ static void fill_sha1_path(char *pathbuf, const unsigned char *sha1)
 
 /*
  * NOTE! This returns a statically allocated buffer, so you have to be
- * careful about using it. Do a "strdup()" if you need to save the
+ * careful about using it. Do a "xstrdup()" if you need to save the
  * filename.
  *
  * Also note that this returns the location for creating.  Reading