From 47f28d0a6627c8b263df3c3e8f905bfaf42557bc Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 28 Sep 2013 23:53:30 -0400 Subject: tst-fanotify: fix style Reported-by: Andreas Jaeger Signed-off-by: Mike Frysinger --- sysdeps/unix/sysv/linux/tst-fanotify.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'sysdeps/unix') diff --git a/sysdeps/unix/sysv/linux/tst-fanotify.c b/sysdeps/unix/sysv/linux/tst-fanotify.c index b21e160cad..ad9836b582 100644 --- a/sysdeps/unix/sysv/linux/tst-fanotify.c +++ b/sysdeps/unix/sysv/linux/tst-fanotify.c @@ -29,14 +29,15 @@ do_test (void) fd = fanotify_init (0, 0); if (fd < 0) { - switch (errno) { - case ENOSYS: - puts ("SKIP: missing support for fanotify (check CONFIG_FANOTIFY=y)"); - return 0; - case EPERM: - puts ("SKIP: missing proper permissions for runtime test"); - return 0; - } + switch (errno) + { + case ENOSYS: + puts ("SKIP: missing support for fanotify (check CONFIG_FANOTIFY=y)"); + return 0; + case EPERM: + puts ("SKIP: missing proper permissions for runtime test"); + return 0; + } perror ("fanotify_init (0, 0) failed"); return 1; -- cgit v1.2.3