diff options
Diffstat (limited to 'libfshelp-tests/test-lockf.c')
-rw-r--r-- | libfshelp-tests/test-lockf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libfshelp-tests/test-lockf.c b/libfshelp-tests/test-lockf.c index 1595cf35..629069b8 100644 --- a/libfshelp-tests/test-lockf.c +++ b/libfshelp-tests/test-lockf.c @@ -168,7 +168,7 @@ int main (int argc, char **argv) if (fd < 0) error (1, errno, "open"); printf ("Opening '%s', fd = %d, ", file_name, fd); - printf ("cmd = %s, len = %ld\n", cmdc, len); + printf ("cmd = %s, len = %lld\n", cmdc, (long long) len); printf ("Requesting lock\n"); err = lockf (fd, cmd, len); if (err) |