summaryrefslogtreecommitdiff
path: root/src/lib/rib.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2018-06-13 10:13:08 +0200
committerDimitri Staessens <[email protected]>2018-06-13 10:43:05 +0200
commitee23f3c52718b5207bac6662e1642bc50a13ec5c (patch)
tree1fd51cc6a8eb9e310f45108640d19bb346e33c62 /src/lib/rib.c
parent1c98f0bedc1d98d468ad0d89e57207535d068844 (diff)
downloadouroboros-ee23f3c52718b5207bac6662e1642bc50a13ec5c.tar.gz
ouroboros-ee23f3c52718b5207bac6662e1642bc50a13ec5c.zip
lib: Change prefix to mountpt in RIB
The build failed if FUSE was disabled, since instead of voiding mountpt, prefix, an unexisting variable, was voided. Signed-off-by: Sander Vrijders <[email protected]> Signed-off-by: Dimitri Staessens <[email protected]>
Diffstat (limited to 'src/lib/rib.c')
-rw-r--r--src/lib/rib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/rib.c b/src/lib/rib.c
index 22397e24..685575e5 100644
--- a/src/lib/rib.c
+++ b/src/lib/rib.c
@@ -324,7 +324,7 @@ int rib_init(const char * mountpt)
rmdir(rib.mnt);
return -1;
#else
- (void) prefix;
+ (void) mountpt;
return 0;
#endif
}