X-Git-Url: https://ruderich.org/simon/gitweb/?p=coloredstderr%2Fcoloredstderr.git;a=blobdiff_plain;f=src%2Fdebug.h;h=911a440fb0f83feb30c039351cd2216a81958c28;hp=5e5cc6d937ef55e7e73de1f62310183daa40bb8a;hb=3d46e3ab9b45d83f69e79a338a45f316e3f61dc0;hpb=3c2b4bf9f65fcf6f631d7529a3391c3564b3dc29 diff --git a/src/debug.h b/src/debug.h index 5e5cc6d..911a440 100644 --- a/src/debug.h +++ b/src/debug.h @@ -36,7 +36,7 @@ static void debug_write(int fd, int first_call, char const *format, va_list ap) DLSYM_FUNCTION(real_close, "close"); if (first_call) { - char nl = '\n'; + char const nl = '\n'; real_write(fd, &nl, 1); } real_write(fd, buffer, (size_t)written);