diff options
author | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2008-01-12 14:54:41 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2008-01-12 14:54:41 +0000 |
commit | 77cd9a7241fd588f4be0d8c26f8aacf3a68f5dc5 (patch) | |
tree | 3a53aa248af963c2f3110774d6a0f4b47977c476 /src/ulogd.c | |
parent | 546804b93f692836769d27ebda986fd4ca1aa5ca (diff) |
Ulogd2: fix some indenting
The following patch fixes some indenting and typo in various ulogd2
files.
Eric Leblond <eric@inl.fr>
Diffstat (limited to 'src/ulogd.c')
-rw-r--r-- | src/ulogd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ulogd.c b/src/ulogd.c index 853b408..ca5fb06 100644 --- a/src/ulogd.c +++ b/src/ulogd.c @@ -422,8 +422,8 @@ pluginstance_alloc_init(struct ulogd_plugin *pl, char *pi_id, ptr += pi->config_kset->num_ces * sizeof(struct config_entry); memcpy(pi->config_kset->ces, pl->config_kset->ces, - pi->config_kset->num_ces - *sizeof(struct config_entry)); + pi->config_kset->num_ces + * sizeof(struct config_entry)); } } else pi->config_kset = NULL; @@ -653,7 +653,7 @@ static int create_stack(const char *option) plname = equals+1; /* find matching plugin */ - pl = find_plugin(plname); + pl = find_plugin(plname); if (!pl) { ulogd_log(ULOGD_ERROR, "can't find requested plugin " "%s\n", plname); @@ -944,7 +944,7 @@ int main(int argc, char* argv[]) warn_and_exit(daemonize); } if (setegid(gid)) { - ulogd_log(ULOGD_FATAL, "can't sett effective GID %u\n", + ulogd_log(ULOGD_FATAL, "can't set effective GID %u\n", gid); warn_and_exit(daemonize); } |