aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libcli/gcc-5.2-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libcli/gcc-5.2-fix.patch')
-rw-r--r--testing/libcli/gcc-5.2-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/libcli/gcc-5.2-fix.patch b/testing/libcli/gcc-5.2-fix.patch
new file mode 100644
index 0000000000..0f2232ea73
--- /dev/null
+++ b/testing/libcli/gcc-5.2-fix.patch
@@ -0,0 +1,11 @@
+--- libcli-1.9.7.orig/clitest.c
++++ libcli-1.9.7/clitest.c
+@@ -72,7 +72,7 @@
+ int cmd_test(struct cli_def *cli, const char *command, char *argv[], int argc)
+ {
+ int i;
+- cli_print(cli, "called %s with \"%s\"", __FUNCTION__, command);
++ cli_print(cli, "called %s with \"%s\"", __func__, command);
+ cli_print(cli, "%d arguments:", argc);
+ for (i = 0; i < argc; i++)
+ cli_print(cli, " %s", argv[i]);