PowerPC: Change sched_getcpu to use vDSO getcpu instead of syscall.
[glibc.git] / stdio-common / bug11.c
blobc5af604e44e661f2d87b3a0ccfbb9c9b5776024c
1 #include <stdio.h>
2 #include <string.h>
4 int
5 main (int argc, char *argv[])
7 int ret;
8 char buf [1024] = "Ooops";
10 ret = sscanf ("static char Term_bits[] = {", "static char %s = {", buf);
11 printf ("ret: %d, name: %s\n", ret, buf);
13 return strcmp (buf, "Term_bits[]") != 0 || ret != 1;