patch-main_c 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. $OpenBSD: patch-main_c,v 1.1 2004/05/17 00:22:54 naddy Exp $
  2. --- main.c.orig 2004-05-12 21:16:27.000000000 +0100
  3. +++ main.c 2004-05-12 21:18:40.000000000 +0100
  4. @@ -24,6 +24,7 @@
  5. #include <time.h>
  6. #include <stdio.h>
  7. +#include <stdlib.h>
  8. #include <unistd.h>
  9. #include <signal.h>
  10. #include <fcntl.h>
  11. @@ -72,8 +73,8 @@ print_usage()
  12. printf("Usage: anacron [-s] [-f] [-n] [-d] [-q] [-t anacrontab] [job] ...\n"
  13. " anacron -u [job] ...\n"
  14. " anacron [-V|-h]\n"
  15. - "\n"
  16. - " -s Serialize execution of jobs\n"
  17. + "\n");
  18. + printf(" -s Serialize execution of jobs\n"
  19. " -f Force execution of jobs, even before their time\n"
  20. " -n Run jobs with no delay, implies -s\n"
  21. " -d Don't fork to the background\n"
  22. @@ -82,8 +83,8 @@ print_usage()
  23. " -t Use this anacrontab\n"
  24. " -V Print version information\n"
  25. " -h Print this message\n"
  26. - "\n"
  27. - "See the manpage for more details.\n"
  28. + "\n");
  29. + printf("See the manpage for more details.\n"
  30. "\n");
  31. }