diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-03-12 11:17:25 +0100 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-03-12 12:18:06 +0100 |
commit | b3ece1fee89d251cdbe8d2cd51fe01ef7ce2a6c6 (patch) | |
tree | b222dfd63fd6a0938660157c1717a2467609f843 /tests/gem_fd_exhaustion.c | |
parent | 5d71d7782a830843c7231fbd72ab3edae19b48d7 (diff) |
tests/gem_fd_exhaustion: Fix build failure
This breaks igt build really badly.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Karol Krol <karol.krol@intel.com>
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'tests/gem_fd_exhaustion.c')
-rw-r--r-- | tests/gem_fd_exhaustion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_fd_exhaustion.c b/tests/gem_fd_exhaustion.c index d04cdd09..559590b1 100644 --- a/tests/gem_fd_exhaustion.c +++ b/tests/gem_fd_exhaustion.c @@ -80,7 +80,7 @@ static bool allow_unlimited_files(void) return setrlimit(RLIMIT_NOFILE, &rlim) == 0; } -static void restore_original_sysctl(void) +static void restore_original_sysctl(int sig) { if (original_nr_open > 0) write_sysctl("/proc/sys/fs/nr_open", original_nr_open); |