X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=tools%2Flocktest%2Ftestlk.c;h=82ed7657051d381e3e437a2dbcf0b4ba0005365e;hp=47eb40acf47a8e0ab7a2286e4dc17872968cf012;hb=3ad7dea527170ae12c9cdc2e428d0676ac261144;hpb=8b7ad01b14df1e7529b9ba8a1ea17df0d6004ef9 diff --git a/tools/locktest/testlk.c b/tools/locktest/testlk.c index 47eb40a..82ed765 100644 --- a/tools/locktest/testlk.c +++ b/tools/locktest/testlk.c @@ -1,4 +1,6 @@ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include +#endif #include #include @@ -79,7 +81,7 @@ main(int argc, char **argv) if (fl.l_type == F_UNLCK) { printf("%s: no conflicting lock\n", fname); } else { - printf("%s: conflicting lock by %d on (%ld;%ld)\n", + printf("%s: conflicting lock by %d on (%lld;%lld)\n", fname, fl.l_pid, fl.l_start, fl.l_len); } return 0;