library: this is why we hate those darn tab characters

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner authored and Craig Small committed 2021-11-14 16:23:07 +11:00
1 parent 10824b0655
commit 126b14470e
1 file changed
+1 -1
+1 -1
View File
@@ -56,7 +56,7 @@ static __thread char buf[8192];
* It also reads the current contents of the file into the global buf.
*/
#define FILE_TO_BUF(filename, fd) do{ \
static __thread int local_n; \
static __thread int local_n; \
if (fd == -1 && (fd = open(filename, O_RDONLY)) == -1) { \
fputs(BAD_OPEN_MESSAGE, stderr); \
fflush(NULL); \