aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/privileges.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2010-09-16 19:56:34 +0000
committerGerald Combs <gerald@wireshark.org>2010-09-16 19:56:34 +0000
commit8b1205bac4a1d18e25505d4ce0c17e094ef935df (patch)
tree74f083e341666a67b2e7401f5f1ec0bdede47d64 /wsutil/privileges.c
parent15e9e0644826314c077a24a79bcc643c9c7464dd (diff)
More typos.
svn path=/trunk/; revision=34139
Diffstat (limited to 'wsutil/privileges.c')
-rw-r--r--wsutil/privileges.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wsutil/privileges.c b/wsutil/privileges.c
index c0ae08d479..8dc5177737 100644
--- a/wsutil/privileges.c
+++ b/wsutil/privileges.c
@@ -160,7 +160,7 @@ npf_sys_is_running() {
static uid_t ruid, euid;
static gid_t rgid, egid;
-static gboolean init_process_polices_called = FALSE;
+static gboolean init_process_policies_called = FALSE;
/*
* Called when the program starts, to save whatever credential information
@@ -175,7 +175,7 @@ init_process_policies(void)
rgid = getgid();
egid = getegid();
- init_process_polices_called = TRUE;
+ init_process_policies_called = TRUE;
}
/*
@@ -185,7 +185,7 @@ init_process_policies(void)
gboolean
started_with_special_privs(void)
{
- g_assert(init_process_polices_called);
+ g_assert(init_process_policies_called);
#ifdef HAVE_ISSETUGID
return issetugid();
#else