mirror of
https://sourceware.org/git/glibc.git
synced 2026-01-06 11:51:29 +03:00
tst-fanotify: fix style
Reported-by: Andreas Jaeger <aj@suse.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user