aboutsummaryrefslogtreecommitdiff
path: root/src/fstabinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fstabinfo.c')
-rw-r--r--src/fstabinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fstabinfo.c b/src/fstabinfo.c
index 4601c57e..eecaf8a0 100644
--- a/src/fstabinfo.c
+++ b/src/fstabinfo.c
@@ -41,6 +41,7 @@
#define ENT_PASS(_ent) ent->fs_passno
#endif
+#include "builtins.h"
#include "einfo.h"
#ifdef HAVE_GETMNTENT
@@ -68,7 +69,7 @@ static struct option longopts[] = {
};
#include "_usage.c"
-int main (int argc, char **argv)
+int fstabinfo (int argc, char **argv)
{
#ifdef HAVE_GETMNTENT
FILE *fp;