From: hemant_mnkcg Date: Tue, 19 Jan 2021 19:20:04 +0000 (-0500) Subject: Change unformat_init_string API in doc to match code X-Git-Tag: v21.10-rc0~654 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=27df7979782aafca80ea4c7309284bd48fe021c0;p=vpp.git Change unformat_init_string API in doc to match code Signed-off-by: hemant_mnkcg Change-Id: I4ec487054f928d52fe06d530df095b30edf66ae5 --- diff --git a/docs/gettingstarted/developers/infrastructure.md b/docs/gettingstarted/developers/infrastructure.md index cae34fc7799..a61068c75cd 100644 --- a/docs/gettingstarted/developers/infrastructure.md +++ b/docs/gettingstarted/developers/infrastructure.md @@ -438,8 +438,9 @@ follows: ```c unformat_input_t input; + u8 *s = ""; - unformat_init_string (&input, ""); + unformat_init_string (&input, (char *) s, strlen((char *) s)); /* or */ unformat_init_vector (&input, ); ```