diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-05-06 14:19:54 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-11-22 14:24:26 +0000 |
commit | 7ae55dc0aa37c1baec3b4fc71c0a001353ebe7dc (patch) | |
tree | 5190ff119f25e6d70945348fb119c2a36e3d073c | |
parent | d4a845daaf05e22207243b69624def1ee59607ac (diff) | |
download | glibc-7ae55dc0aa37c1baec3b4fc71c0a001353ebe7dc.tar.gz glibc-7ae55dc0aa37c1baec3b4fc71c0a001353ebe7dc.tar.xz glibc-7ae55dc0aa37c1baec3b4fc71c0a001353ebe7dc.zip |
Fix resource/bug-ulimit1 test
ulimit is a variadic function and the second argument must have type long (or unsigned long).
-rw-r--r-- | resource/bug-ulimit1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resource/bug-ulimit1.c b/resource/bug-ulimit1.c index 334d7fff04..8dd3ddf493 100644 --- a/resource/bug-ulimit1.c +++ b/resource/bug-ulimit1.c @@ -7,7 +7,7 @@ main (void) int retval = 0; long int res; - res = ulimit (UL_SETFSIZE, 10000); + res = ulimit (UL_SETFSIZE, 10000L); printf ("Result of ulimit (UL_SETFSIZE, 10000): %ld\n", res); if (res != 10000) retval = 1; |