1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 10:45:15 +03:00
aports/testing/libcli/gcc-5.2-fix.patch
Arch3y 19bff561e3 testing/libcli: new aport
A library for including a Cisco-like command-line interface
https://github.com/dparrish/libcli

[TT: modernize]
2017-08-29 07:18:57 +00:00

11 lines
430 B
Diff

--- 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]);