diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-09-28 23:53:30 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-09-28 23:53:50 -0400 |
commit | 47f28d0a6627c8b263df3c3e8f905bfaf42557bc (patch) | |
tree | a296d68de35f8324566ce2c54adb7d57c440b727 | |
parent | 0a834ddecbb08b79cbcf7d9460ab3d3d539c9962 (diff) | |
download | glibc-47f28d0a6627c8b263df3c3e8f905bfaf42557bc.tar.gz glibc-47f28d0a6627c8b263df3c3e8f905bfaf42557bc.tar.xz glibc-47f28d0a6627c8b263df3c3e8f905bfaf42557bc.zip |
tst-fanotify: fix style
Reported-by: Andreas Jaeger <aj@suse.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/tst-fanotify.c | 17 |
2 files changed, 14 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog index 3594b32726..ab04bbf363 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ -2013-09-11 P. J. McDermott <pj@pehjota.net> +2013-09-28 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style. + +2013-09-28 P. J. McDermott <pj@pehjota.net> * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use ${Bash-specific parameter/pattern/string} parameter expansion. 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; |