summaryrefslogtreecommitdiffstats
path: root/omfile.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-23 06:21:16 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-23 06:21:16 +0000
commit8425445c2dd68d91bb62487032151f06d35c583a (patch)
tree92ef23fb997666d1b09ed65bb788c52dffc1c925 /omfile.c
parent6b24fa20d4da8a57a2e34b1ca0c3159b93157e1e (diff)
downloadrsyslog-8425445c2dd68d91bb62487032151f06d35c583a.tar.gz
rsyslog-8425445c2dd68d91bb62487032151f06d35c583a.tar.xz
rsyslog-8425445c2dd68d91bb62487032151f06d35c583a.zip
simplified action calling using new interface Warning: this version has a
structure alignment issue in omusrmsg.c, I currently do not know why. I check in so that others can look at it.
Diffstat (limited to 'omfile.c')
-rw-r--r--omfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/omfile.c b/omfile.c
index f2d7814a..7d41fc0a 100644
--- a/omfile.c
+++ b/omfile.c
@@ -38,7 +38,6 @@
#include <unistd.h>
#include <sys/file.h>
-//#include <sys/param.h>
#include "rsyslog.h"
#include "syslogd.h"
@@ -424,6 +423,8 @@ int doActionFile(selector_t *f)
{
assert(f != NULL);
+ dprintf(" (%s)\n", f->f_un.f_file.f_fname);
+printf("iovUsed address: %x, size %d\n",&f->f_iIovUsed, sizeof(selector_t));
/* f->f_file == -1 is an indicator that the we couldn't
* open the file at startup. For dynaFiles, this is ok,
* all others are doomed.