X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=osx_write.c;h=6001b8597d8823f1c7d528439580836088b269cf;hp=2dee9140c0016eaa849bd1c60a1bef85cd1927e2;hb=1889013e900f08d5ee842a50dc13c66689ebf15b;hpb=471684761a2039bbc89aa1e3c33c62de6bef86cf diff --git a/osx_write.c b/osx_write.c index 2dee9140..6001b859 100644 --- a/osx_write.c +++ b/osx_write.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2007 Andre Noll + * Copyright (C) 2006-2008 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -11,6 +11,8 @@ * */ +#include +#include #include #include "para.h" #include "fd.h" @@ -124,7 +126,7 @@ static OSStatus osx_callback(void * inClientData, dest = outOutputData->mBuffers[i].mData; while (m > 0) { if ((n = powd->from->remaining) <= 0) { - PARA_INFO_LOG("%s", "buffer underrun\n"); + PARA_INFO_LOG("buffer underrun\n"); return 0; } // PARA_INFO_LOG("buf %p: n = %ld, m= %ld\n", powd->from->buffer, n, m);