X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=lockfile.c;h=828d19f452a8bfffe2ee224a630e8246f4a1edab;hb=8146f19762c8fd67f6df3da4ba87a4e5ea880909;hp=3dbb2d1ff9407a7417be294adedc5312e7421a96;hpb=d890d3f99635de7963effd1436148112ef7a52b7;p=git.git diff --git a/lockfile.c b/lockfile.c index 3dbb2d1ff..828d19f45 100644 --- 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 {