X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=path.c;h=4d73cc9cd26708b4cb41e86fb319b93f526cb2f2;hb=a87247731e46255567ec58df940adb697e5b95a8;hp=8951333cb88a6e28ef29538183ebf71e3b0913fa;hpb=bcf3d1fd9ccc04350d793c077d3c112fb26f43f0;p=git.git diff --git a/path.c b/path.c index 8951333cb..4d73cc9cd 100644 --- a/path.c +++ b/path.c @@ -397,7 +397,7 @@ int set_shared_perm(const char *path, int mode) return 0; } -const char *make_relative_path(const char *abs, const char *base) +const char *relative_path(const char *abs, const char *base) { static char buf[PATH_MAX + 1]; int i = 0, j = 0;