Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Always use three argument form of open
[gitweb.git]
/
lockfile.c
diff --git
a/lockfile.c
b/lockfile.c
index 3dbb2d1ff9407a7417be294adedc5312e7421a96..828d19f452a8bfffe2ee224a630e8246f4a1edab 100644
(file)
--- a/
lockfile.c
+++ b/
lockfile.c
@@
-109,7
+109,7
@@
static char *resolve_symlink(char *p, size_t s)
* link is a relative path, so I must replace the
* last element of p with it.
*/
- char *r = (char*)last_path_elm(p);
+ char *r = (char
*)last_path_elm(p);
if (r - p + link_len < s)
strcpy(r, link);
else {