Spelling-fixes.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From: Christian Kastner <ckk@kvr.at>
  2. Date: Sat, 30 Apr 2016 14:43:25 +0200
  3. Subject: Spelling fixes
  4. Forwarded: yes
  5. Last-Update: 2016-04-30
  6. ---
  7. progs/capsh.c | 2 +-
  8. progs/getpcaps.c | 2 +-
  9. 2 files changed, 2 insertions(+), 2 deletions(-)
  10. diff --git a/progs/capsh.c b/progs/capsh.c
  11. index 3ceadcd..f340c61 100644
  12. --- a/progs/capsh.c
  13. +++ b/progs/capsh.c
  14. @@ -582,7 +582,7 @@ int main(int argc, char *argv[], char *envp[])
  15. " --killit=<n> send signal(n) to child\n"
  16. " --forkfor=<n> fork and make child sleep for <n> sec\n"
  17. " == re-exec(capsh) with args as for --\n"
  18. - " -- remaing arguments are for /bin/bash\n"
  19. + " -- remaining arguments are for /bin/bash\n"
  20. " (without -- [%s] will simply exit(0))\n",
  21. argv[0], argv[0]);
  22. diff --git a/progs/getpcaps.c b/progs/getpcaps.c
  23. index e405a92..264dd00 100644
  24. --- a/progs/getpcaps.c
  25. +++ b/progs/getpcaps.c
  26. @@ -39,7 +39,7 @@ int main(int argc, char **argv)
  27. cap_d = cap_get_pid(pid);
  28. if (cap_d == NULL) {
  29. - fprintf(stderr, "Failed to get cap's for proccess %d:"
  30. + fprintf(stderr, "Failed to get cap's for process %d:"
  31. " (%s)\n", pid, strerror(errno));
  32. retval = 1;
  33. continue;