Polished messages, comments and description of DDLP-A

This commit is contained in:
2007-04-18 13:01:21 +00:00
parent fd5b681bc6
commit 256139c9d6
3 changed files with 48 additions and 3 deletions

View File

@ -52,7 +52,7 @@ int main(int argc, char **argv)
progname = argv[0];
/* ts A70417: added -w and -r */
/* ts A70417: added -w , -r , -i */
while ((c = getopt (argc, argv, "feirw")) != EOF) {
switch (c) {
case 'e':
@ -119,6 +119,7 @@ int main(int argc, char **argv)
printf("Trying to grab fcntl lock...\n");
if (fcntl(fd, F_SETLKW, &fl) < 0) {
perror("fcntl: F_SETLKW: ");
printf("failed\n");
exit(1);
}
printf("succeeded\n");