From 580680fb83e9af120e5fb7cc92c815879ed4629b Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 11 Sep 2018 19:11:15 -0700 Subject: [PATCH] butc: repair build error Signed-off-by: Anders Kaseorg --- debian/patches/butc-repair-build-error.patch | 36 ++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 37 insertions(+) create mode 100644 debian/patches/butc-repair-build-error.patch diff --git a/debian/patches/butc-repair-build-error.patch b/debian/patches/butc-repair-build-error.patch new file mode 100644 index 000000000..12b56370d --- /dev/null +++ b/debian/patches/butc-repair-build-error.patch @@ -0,0 +1,36 @@ +From 91bab84e7a3b7de2591c475ba4912b0db8899f05 Mon Sep 17 00:00:00 2001 +From: Mark Vitale +Date: Tue, 11 Sep 2018 16:29:59 -0400 +Subject: butc: repair build error + +Commit c43169fd36348783b1a5a55c5bb05317e86eef82 introduced a build error +by invoking TLog with an extraneous set of internal parentheses. + +Remove the offending parentheses. + +Change-Id: Ibc52501b01ecbe9f86262566446d63e66486272f +Reviewed-on: https://gerrit.openafs.org/13311 +Tested-by: BuildBot +Reviewed-by: Benjamin Kaduk +--- + src/butc/tcmain.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/butc/tcmain.c b/src/butc/tcmain.c +index c5399396ee1..cbd135b09c2 100644 +--- a/src/butc/tcmain.c ++++ b/src/butc/tcmain.c +@@ -835,8 +835,8 @@ tc_IsLocalRealmMatch(void *rock, char *name, char *inst, char *cell) + + code = afsconf_IsLocalRealmMatch(dir, &islocal, name, inst, cell); + if (code) { +- TLog(0, ("Failed local realm check; code=%d, name=%s, inst=%s, cell=%s\n", +- code, name, inst, cell)); ++ TLog(0, "Failed local realm check; code=%d, name=%s, inst=%s, cell=%s\n", ++ code, name, inst, cell); + } + return islocal; + } +-- +2.18.0 + diff --git a/debian/patches/series b/debian/patches/series index d74aab87a..851f3c32f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 0003-Catch-up-to-roken-s-rename-of-base64-symbols.patch +butc-repair-build-error.patch -- 2.39.5