[wireshark/f15] fixed a typo
Jan Šafránek
jsafrane at fedoraproject.org
Wed Nov 2 08:01:58 UTC 2011
commit 8ce6c315e44189900b9d685c6def8522558a86ab
Author: Jan Safranek <jsafrane at redhat.com>
Date: Mon Oct 3 13:11:16 2011 +0200
fixed a typo
wireshark-1.4.8-group-msg.patch | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/wireshark-1.4.8-group-msg.patch b/wireshark-1.4.8-group-msg.patch
index bb9f260..ca721b9 100644
--- a/wireshark-1.4.8-group-msg.patch
+++ b/wireshark-1.4.8-group-msg.patch
@@ -25,7 +25,7 @@ diff -up wireshark-1.4.8/capture_sync.c.group-msg wireshark-1.4.8/capture_sync.c
- g_snprintf(errmsg, sizeof errmsg, "Couldn't run %s in child process: %s",
- argv[0], g_strerror(errno));
+ if (errno == EPERM || errno == EACCES)
-+ securitymsg = "\nAre you a memeber of the 'wireshark' group? Try running\n'usermod -a -G wireshark _your_username_' as root.";
++ securitymsg = "\nAre you a member of the 'wireshark' group? Try running\n'usermod -a -G wireshark _your_username_' as root.";
+ g_snprintf(errmsg, sizeof errmsg, "Couldn't run %s in child process: %s%s",
+ argv[0], g_strerror(errno), securitymsg);
sync_pipe_errmsg_to_parent(2, errmsg, "");
@@ -46,7 +46,7 @@ diff -up wireshark-1.4.8/capture_sync.c.group-msg wireshark-1.4.8/capture_sync.c
- g_snprintf(errmsg, sizeof errmsg, "Couldn't run %s in child process: %s",
- argv[0], g_strerror(errno));
+ if (errno == EPERM || errno == EACCES)
-+ securitymsg = "\nAre you a memeber of the 'wireshark' group? Try running\n'usermod -a -G wireshark _your_username_' as root.";
++ securitymsg = "\nAre you a member of the 'wireshark' group? Try running\n'usermod -a -G wireshark _your_username_' as root.";
+ g_snprintf(errmsg, sizeof errmsg, "Couldn't run %s in child process: %s%s",
+ argv[0], g_strerror(errno), securitymsg);
sync_pipe_errmsg_to_parent(2, errmsg, "");
More information about the scm-commits
mailing list