Patchwork [1,of,4,STABLE] chg: apply clang-format

login
register
mail settings
Submitter Yuya Nishihara
Date Nov. 3, 2020, 2:54 a.m.
Message ID <41aaf960dc00d85712d4.1604372085@mimosa>
Download mbox | patch
Permalink /patch/47539/
State Accepted
Headers show

Comments

Yuya Nishihara - Nov. 3, 2020, 2:54 a.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1604369175 -32400
#      Tue Nov 03 11:06:15 2020 +0900
# Branch stable
# Node ID 41aaf960dc00d85712d412a4aba81e742aa7b69e
# Parent  8711dc13474ce3d6db8c21389a994867331e348d
chg: apply clang-format

Patch

diff --git a/contrib/chg/chg.c b/contrib/chg/chg.c
--- a/contrib/chg/chg.c
+++ b/contrib/chg/chg.c
@@ -283,13 +283,17 @@  static void execcmdserver(const struct c
 				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);
 				}
 			}
 		}