diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-22 00:59:49 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-22 00:59:49 +0100 |
commit | b3bbe46261006e6a6227ad55e28b630d06b9ed4a (patch) | |
tree | dcc2ae0af686ce80475513b0259468316dd9a425 /libfshelp-tests | |
parent | 1ddc886556de68917dec2392368de6d6642348f7 (diff) | |
download | hurd-b3bbe46261006e6a6227ad55e28b630d06b9ed4a.tar.gz hurd-b3bbe46261006e6a6227ad55e28b630d06b9ed4a.tar.bz2 hurd-b3bbe46261006e6a6227ad55e28b630d06b9ed4a.zip |
test-lockf: Fix warning
* libfshelp-tests/test-lockf.c (main): Fix format for off_t.
Diffstat (limited to 'libfshelp-tests')
-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) |