X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afs.c;h=d02082666cc48baee0bbb39db7c22a6a0ec2265e;hp=49ce13ebe1eec3dce17727af33bb51444f3a3108;hb=ba63b662dc6bd44a759837b67c34e0aa2b398b8e;hpb=650e5374914c1eb725ce7d2a720611bec22112bc diff --git a/afs.c b/afs.c index 49ce13eb..d0208266 100644 --- a/afs.c +++ b/afs.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2013 Andre Noll + * Copyright (C) 2007-2014 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -804,7 +804,7 @@ static void command_pre_select(struct sched *s, struct task *t) * \return Zero if \a buf is \p NULL or \a size is zero. Negative on errors, * and positive on success. */ -int pass_buffer_as_shm(int fd, uint8_t band, char *buf, size_t size) +int pass_buffer_as_shm(int fd, uint8_t band, const char *buf, size_t size) { int ret, shmid; void *shm;