summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Geissler <romain.geissler@gmail.com>2011-06-06 01:26:01 +0200
committerRomain Geissler <romain.geissler@gmail.com>2011-06-06 01:26:01 +0200
commit5ec05d0748094b0e7fd1920bd960a24826435cac (patch)
tree82fbd15b58e50422718b1be995df427339668bd6
parent76e9e3b763e9848971950c25399748762865ee10 (diff)
downloadlibgit2-5ec05d0748094b0e7fd1920bd960a24826435cac.tar.gz
Repository: Fixed retrieve_device return type.
-rw-r--r--src/repository.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.c b/src/repository.c
index 47d58e4eb..b721af8b8 100644
--- a/src/repository.c
+++ b/src/repository.c
@@ -330,7 +330,7 @@ static int abspath(char *buffer_out, size_t size, const char *path)
return GIT_SUCCESS;
}
-static dev_t retrieve_device(dev_t *device_out, const char *path)
+static int retrieve_device(dev_t *device_out, const char *path)
{
struct stat path_info;