userfaultfd: selftest: fix compiler warning
authorAlakesh Haloi <alakesh.haloi@gmail.com>
Mon, 27 May 2019 15:18:59 +0000 (15:18 +0000)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 30 May 2019 14:21:36 +0000 (08:21 -0600)
commit98a13a8d253999cf25eb16d901c35fbd2a8455c4
tree988855a74c26bee7dc642840c468b512f0ed91c4
parentf97f3f8839eb9de5843066d80819884f7722c8c5
userfaultfd: selftest: fix compiler warning

Fixes following compiler warning

userfaultfd.c: In function ‘usage’:
userfaultfd.c:126:2: warning: format not a string literal and no format
arguments [-Wformat-security]
  fprintf(stderr, examples);

Signed-off-by: Alakesh Haloi <alakesh.haloi@gmail.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/vm/userfaultfd.c