X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils%2Fcmds%2Fcmds_test.c;h=ff7c8cc931c604b5577990d912af12fde5d459dd;hb=a4cd456fcdf80053fe12c89fc7471d39e55f60f1;hp=4f449a37e62bcd58511a5295a0006858a453fceb;hpb=72105c0b5384e650d00053d8e6a1a0280741b89d;p=collectd.git diff --git a/src/utils/cmds/cmds_test.c b/src/utils/cmds/cmds_test.c index 4f449a37..ff7c8cc9 100644 --- a/src/utils/cmds/cmds_test.c +++ b/src/utils/cmds/cmds_test.c @@ -295,7 +295,7 @@ DEF_TEST(parse) { memset(&cmd, 0, sizeof(cmd)); status = cmd_parse(input, &cmd, parse_data[i].opts, &err); - snprintf(description, sizeof(description), + ssnprintf(description, sizeof(description), "cmd_parse (\"%s\", opts=%p) = " "%d (type=%d [%s]); want %d " "(type=%d [%s])",