diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c b/sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c index 0531074ceb..259ef44eb8 100644 --- a/sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c +++ b/sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c @@ -44,9 +44,9 @@ sig_handler (int signo) static int do_test (void) { - char buf[20]; + char buf[4]; - if (scanf ("%20s", buf) != 1) + if (scanf ("%3s", buf) != 1) FAIL_UNSUPPORTED ("IBT not supported"); if (strcmp (buf, "IBT") != 0) |