From 06e895a67d6bf8ded3c084a6b26856cd856d8d3d Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 10 May 2015 12:17:47 +0200 Subject: [PATCH] mountpoint: style, order flags --- mountpoint.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mountpoint.c b/mountpoint.c index 0e1bd7e..1007a27 100644 --- a/mountpoint.c +++ b/mountpoint.c @@ -19,19 +19,19 @@ usage(void) int main(int argc, char *argv[]) { - int qflag = 0, dflag = 0, xflag = 0; + int dflag = 0, qflag = 0, xflag = 0; + int ret = 0; struct mntent *me = NULL; FILE *fp; - int ret = 0; struct stat st1, st2; ARGBEGIN { - case 'q': - qflag = 1; - break; case 'd': dflag = 1; break; + case 'q': + qflag = 1; + break; case 'x': xflag = 1; break;