* What's the right thing to do, if there is no getpagesize ()? */
pagesize = getpagesize();
* What's the right thing to do, if there is no getpagesize ()? */
pagesize = getpagesize();
} /* static void vserver_init(void) */
static void traffic_submit(const char *plugin_instance,
} /* static void vserver_init(void) */
static void traffic_submit(const char *plugin_instance,
char errbuf[1024];
ERROR("vserver plugin: fopen (%s): %s", PROCDIR,
sstrerror(errno, errbuf, sizeof(errbuf)));
char errbuf[1024];
ERROR("vserver plugin: fopen (%s): %s", PROCDIR,
sstrerror(errno, errbuf, sizeof(errbuf)));
ERROR("vserver plugin: failed to read directory %s: %s", PROCDIR,
sstrerror(errno, errbuf, sizeof(errbuf)));
closedir(proc);
ERROR("vserver plugin: failed to read directory %s: %s", PROCDIR,
sstrerror(errno, errbuf, sizeof(errbuf)));
closedir(proc);
} /* int vserver_read */
void module_register(void) {
plugin_register_init("vserver", vserver_init);
plugin_register_read("vserver", vserver_read);
} /* void module_register(void) */
} /* int vserver_read */
void module_register(void) {
plugin_register_init("vserver", vserver_init);
plugin_register_read("vserver", vserver_read);
} /* void module_register(void) */