changeset 45768:41aaf960dc00 stable

chg: apply clang-format
author Yuya Nishihara <yuya@tcha.org>
date Tue, 03 Nov 2020 11:06:15 +0900
parents 8711dc13474c
children 731ea8fa1f11
files contrib/chg/chg.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/chg/chg.c	Mon Nov 02 11:58:34 2020 +0100
+++ b/contrib/chg/chg.c	Tue Nov 03 11:06:15 2020 +0900
@@ -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);
 				}
 			}
 		}