Commit 5ec05d0748094b0e7fd1920bd960a24826435cac

Romain Geissler 2011-06-06T01:26:01

Repository: Fixed retrieve_device return type.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/repository.c b/src/repository.c
index 47d58e4..b721af8 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;