aboutsummaryrefslogtreecommitdiff
path: root/src/mountinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mountinfo.c')
-rw-r--r--src/mountinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mountinfo.c b/src/mountinfo.c
index 77fe9111..76fec3bf 100644
--- a/src/mountinfo.c
+++ b/src/mountinfo.c
@@ -27,6 +27,7 @@
#include <stdlib.h>
#include <string.h>
+#include "builtins.h"
#include "einfo.h"
#include "rc.h"
#include "rc-misc.h"
@@ -175,7 +176,7 @@ static struct option longopts[] = {
};
#include "_usage.c"
-int main (int argc, char **argv)
+int mountinfo (int argc, char **argv)
{
int i;
regex_t *fstype_regex = NULL;