aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-09-26 08:05:49 +0000
committerRoy Marples <roy@marples.name>2007-09-26 08:05:49 +0000
commit3d484acec358f98461a25f2de5889d0ce060c89c (patch)
treecb08a8e554a1275b4eddf93aa78a6bca94389ac6
parentef0df587614fc98b35d882c793d515d6a7bbfcb2 (diff)
passno needs an argument
-rw-r--r--src/fstabinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fstabinfo.c b/src/fstabinfo.c
index db8d9623..bb0977db 100644
--- a/src/fstabinfo.c
+++ b/src/fstabinfo.c
@@ -69,7 +69,7 @@ static struct mntent *getmntfile (const char *file)
static struct option longopts[] = {
{ "mountcmd", 0, NULL, 'm'},
{ "options", 0, NULL, 'o'},
- { "passno", 0, NULL, 'p'},
+ { "passno", 1, NULL, 'p'},
{ "fstype", 1, NULL, 't'},
longopts_COMMON
{ NULL, 0, NULL, 0}