From 733e149c1a48f5fcb5c90579c67af57f9df982ef Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 22 Jun 2014 18:24:49 +0200 Subject: [PATCH] fix typos in comments --- src/coloredstderr.c | 2 +- src/trackfds.h | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/coloredstderr.c b/src/coloredstderr.c index eaeebd3..064383e 100644 --- a/src/coloredstderr.c +++ b/src/coloredstderr.c @@ -326,7 +326,7 @@ HOOK_FILE2(int, __overflow, f, _IO_FILE *, f, int, ch) /* Same for FreeBSD's libc. However it's more aggressive: The inline writing * and __swbuf() are also used for normal output (e.g. putc()). Writing to * stderr is still fine; it always calls __swbuf() as stderr is always - * unbufferd. */ + * unbuffered. */ #ifdef HAVE___SWBUF HOOK_FILE2(int, __swbuf, f, int, c, FILE *, f) #endif diff --git a/src/trackfds.h b/src/trackfds.h index c755086..19ed1af 100644 --- a/src/trackfds.h +++ b/src/trackfds.h @@ -99,12 +99,14 @@ static int init_tracked_fds_list(size_t count) { return 1; } -/* Load tracked file descriptors from the environment. The environment is used +/* + * Load tracked file descriptors from the environment. The environment is used * to pass the information to child processes. * * ENV_NAME_FDS and ENV_NAME_PRIVATE_FDS have the following format: Each * descriptor as string followed by a comma; there's a trailing comma. - * Example: "2,4,". */ + * Example: "2,4,". + */ static void init_from_environment(void) { #ifdef DEBUG debug("init_from_environment()\t\t[%d]\n", getpid()); -- 2.45.2