changeset 45916:bb9085ba12e6

chg: fix test-check-clang-format.t failure Differential Revision: https://phab.mercurial-scm.org/D9365
author Pulkit Goyal <pulkit@yandex-team.ru>
date Sun, 22 Nov 2020 23:53:09 +0530
parents 0aa118f18d4b
children 6da22a068281
files contrib/chg/chg.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
 				}
 			}
 		}