tweaks: adjust the type of four lockfile variables
The functions read() and fwrite() take size_t, not ssize_t. And line numbers in the file should be displayed as a long type instead of an int, since the effective type of ssize_t is not int, but long.
Showing
+6 -6
Please register or sign in to comment