diff options
Diffstat (limited to 'avahi-autoipd')
-rw-r--r-- | avahi-autoipd/iface.h | 2 | ||||
-rw-r--r-- | avahi-autoipd/main.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/avahi-autoipd/iface.h b/avahi-autoipd/iface.h index 017c90d..e3f913e 100644 --- a/avahi-autoipd/iface.h +++ b/avahi-autoipd/iface.h @@ -40,7 +40,7 @@ void iface_done(void); /* Deduce the initial state of our state machine. If a routable * address is configured for the interface, *state should be set to - * STATE_SLEEPING., otherwide STATE_START */ + * STATE_SLEEPING, otherwise STATE_START */ int iface_get_initial_state(State *state); diff --git a/avahi-autoipd/main.c b/avahi-autoipd/main.c index 9e0b9e8..d4b9b6d 100644 --- a/avahi-autoipd/main.c +++ b/avahi-autoipd/main.c @@ -1011,7 +1011,7 @@ static int drop_privs(void) { #elif defined(HAVE_SETREGID) r = setregid(gr->gr_gid, gr->gr_gid); #else -#error "No API to drop priviliges" +#error "No API to drop privileges" #endif if (r < 0) { @@ -1027,7 +1027,7 @@ static int drop_privs(void) { #elif defined(HAVE_SETREUID) r = setreuid(pw->pw_uid, pw->pw_uid); #else -#error "No API to drop priviliges" +#error "No API to drop privileges" #endif if (r < 0) { |