]> granicus.if.org Git - strace/blob - tests/getsid.c
Replace "(unsigned long) -1L" with -1UL
[strace] / tests / getsid.c
1 #include "tests.h"
2 #include <stdio.h>
3 #include <unistd.h>
4
5 int
6 main(void)
7 {
8         pid_t pid = getpid();
9         printf("getsid(%d) = %d\n", pid, getsid(pid));
10
11         puts("+++ exited with 0 +++");
12         return 0;
13 }