X-Git-Url: https://ruderich.org/simon/gitweb/?p=coloredstderr%2Fcoloredstderr.git;a=blobdiff_plain;f=src%2Fcoloredstderr.c;h=85b2b941b88f9d76c58a0f14eb0dd4181dc3a3c9;hp=7db0a37abe33bb4291f0a0f1e579163c8bb1034d;hb=b0c02291be915423e396e47baad24543df101879;hpb=d78910e363e8f6c8e9c88f1045bb85fcb164976d diff --git a/src/coloredstderr.c b/src/coloredstderr.c index 7db0a37..85b2b94 100644 --- a/src/coloredstderr.c +++ b/src/coloredstderr.c @@ -277,7 +277,7 @@ HOOK_FILE1(int, putchar_unlocked, stdout, * stderr (which shouldn't be the case too often). */ #ifdef HAVE_STRUCT__IO_FILE__FILENO /* _IO_FILE is glibc's representation of FILE. */ -HOOK_FD2(int, __overflow, f->_fileno, _IO_FILE *, f, int, ch) +HOOK_FILE2(int, __overflow, f, _IO_FILE *, f, int, ch) #endif /* perror(3) */