aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-09-28 23:53:30 -0400
committerMike Frysinger <vapier@gentoo.org>2013-09-28 23:53:50 -0400
commit47f28d0a6627c8b263df3c3e8f905bfaf42557bc (patch)
treea296d68de35f8324566ce2c54adb7d57c440b727 /sysdeps
parent0a834ddecbb08b79cbcf7d9460ab3d3d539c9962 (diff)
downloadglibc-47f28d0a6627c8b263df3c3e8f905bfaf42557bc.zip
glibc-47f28d0a6627c8b263df3c3e8f905bfaf42557bc.tar.gz
glibc-47f28d0a6627c8b263df3c3e8f905bfaf42557bc.tar.bz2
tst-fanotify: fix style
Reported-by: Andreas Jaeger <aj@suse.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/tst-fanotify.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/sysdeps/unix/sysv/linux/tst-fanotify.c b/sysdeps/unix/sysv/linux/tst-fanotify.c
index b21e160..ad9836b 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;