aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/misc/xen_log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/misc/xen_log.c b/tools/misc/xen_log.c
index 8905c1bf32..ed7d570e1c 100644
--- a/tools/misc/xen_log.c
+++ b/tools/misc/xen_log.c
@@ -142,12 +142,12 @@ int daemon(int nochdir, int noclose)
int main(int argc, char **argv)
{
- logoutput = 0;
int c;
+ logoutput = 0;
opterr = 0;
- while ((c = getopt (argc, argv, "dh")) != -1)
+ while ( (c = getopt (argc, argv, "dh")) != -1 )
{
switch(c)
{