summaryrefslogtreecommitdiff
path: root/testing/libcli/gcc-5.2-fix.patch
blob: 0f2232ea731113bbbf1c1a8d7fe7335f9654f498 (plain)
1
2
3
4
5
6
7
8
9
10
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]);