example: packet: correct size print

Message ID 1478533413-28857-1-git-send-email-maxim.uvarov@linaro.org
State New
Headers show

Commit Message

Maxim Uvarov Nov. 7, 2016, 3:43 p.m.
looks like typo in print, delete it.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
 example/packet/pktio_run.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.7.1.250.gff4ea60

Comments

Maxim Uvarov Nov. 29, 2016, 4:39 p.m. | #1
needed review-by for this patch.

ping.

Maxim.

On 11/07/16 18:43, Maxim Uvarov wrote:
> looks like typo in print, delete it.

>

> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

> ---

>   example/packet/pktio_run.sh | 2 +-

>   1 file changed, 1 insertion(+), 1 deletion(-)

>

> diff --git a/example/packet/pktio_run.sh b/example/packet/pktio_run.sh

> index 3adb2d6..fe6c505 100755

> --- a/example/packet/pktio_run.sh

> +++ b/example/packet/pktio_run.sh

> @@ -9,7 +9,7 @@

>   PCAP_IN=`find . ${TEST_DIR} $(dirname $0) -name udp64.pcap -print -quit`

>   PCAP_OUT="pcapout.pcap"

>   PCAP_IN_SIZE=`stat -c %s ${PCAP_IN}`

> -echo "using PCAP in=${PCAP_IN}:out=${PCAP_OUT} size %${PCAP_IN_SIZE}"

> +echo "using PCAP in=${PCAP_IN}:out=${PCAP_OUT} size ${PCAP_IN_SIZE}"

>   

>   # burst mode

>   ./odp_pktio -ipcap:in=${PCAP_IN}:out=${PCAP_OUT} -t 5 -m 0

Patch

diff --git a/example/packet/pktio_run.sh b/example/packet/pktio_run.sh
index 3adb2d6..fe6c505 100755
--- a/example/packet/pktio_run.sh
+++ b/example/packet/pktio_run.sh
@@ -9,7 +9,7 @@ 
 PCAP_IN=`find . ${TEST_DIR} $(dirname $0) -name udp64.pcap -print -quit`
 PCAP_OUT="pcapout.pcap"
 PCAP_IN_SIZE=`stat -c %s ${PCAP_IN}`
-echo "using PCAP in=${PCAP_IN}:out=${PCAP_OUT} size %${PCAP_IN_SIZE}"
+echo "using PCAP in=${PCAP_IN}:out=${PCAP_OUT} size ${PCAP_IN_SIZE}"
 
 # burst mode
 ./odp_pktio -ipcap:in=${PCAP_IN}:out=${PCAP_OUT} -t 5 -m 0