X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=mood.c;h=c892ff5c15fcfb8abfe8a11fe0a85911f073c740;hb=2830b9f8;hp=f580400dd52bfe4d129f7526034745929b0cdf7e;hpb=a98faf997d14e5178a97bd420c4f686b570bd651;p=paraslash.git diff --git a/mood.c b/mood.c index f580400d..c892ff5c 100644 --- a/mood.c +++ b/mood.c @@ -425,8 +425,10 @@ void mood_check_callback(int fd, __a_unused const struct osl_object *query) { struct para_buffer pb = { .max_size = shm_get_shmmax(), - .private_data = &fd, - .max_size_handler = pass_buffer_as_shm + .private_data = &(struct afs_max_size_handler_data) { + .fd = fd, + }, + .max_size_handler = afs_max_size_handler }; int ret = para_printf(&pb, "checking moods...\n");