chg: fix test-check-clang-format.t failure
authorPulkit Goyal <pulkit@yandex-team.ru>
Sun, 22 Nov 2020 23:53:09 +0530
changeset 45901 bb9085ba12e6
parent 45900 0aa118f18d4b
child 45902 6da22a068281
chg: fix test-check-clang-format.t failure Differential Revision: https://phab.mercurial-scm.org/D9365
contrib/chg/chg.c
--- a/contrib/chg/chg.c	Tue Nov 17 21:30:50 2020 -0500
+++ b/contrib/chg/chg.c	Sun Nov 22 23:53:09 2020 +0530
@@ -283,13 +283,17 @@
 				continue;
 			}
 			if (errno == ERANGE) {
-				debugmsg("tried to parse %s, but range error occurred", de->d_name);
+				debugmsg("tried to parse %s, but range error "
+				         "occurred",
+				         de->d_name);
 				continue;
 			}
 			if (fd_value > STDERR_FILENO) {
 				int res = close(fd_value);
 				if (res) {
-					debugmsg("tried to close fd %ld: %d (errno: %d)", fd_value, res, errno);
+					debugmsg("tried to close fd %ld: %d "
+					         "(errno: %d)",
+					         fd_value, res, errno);
 				}
 			}
 		}