]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
action police: change the print message quotes style
authorPo Liu <po.liu@nxp.com>
Mon, 29 Jun 2020 02:04:19 +0000 (10:04 +0800)
committerDavid Ahern <dsahern@kernel.org>
Sun, 5 Jul 2020 15:33:59 +0000 (15:33 +0000)
Change the double quotes to single quotes in fprintf message to make it
more readable.

Signed-off-by: Po Liu <po.liu@nxp.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
tc/m_police.c

index a5bc20c02d66dfafbe857eb6656c27dc6d299925..7eb47f8e3a5637f5e4a205fb844f76c5f59ae216 100644 (file)
@@ -162,23 +162,23 @@ action_ctrl_ok:
 
        /* Must at least do late binding, use TB or ewma policing */
        if (!rate64 && !avrate && !p.index) {
-               fprintf(stderr, "\"rate\" or \"avrate\" MUST be specified.\n");
+               fprintf(stderr, "'rate' or 'avrate' MUST be specified.\n");
                return -1;
        }
 
        /* When the TB policer is used, burst is required */
        if (rate64 && !buffer && !avrate) {
-               fprintf(stderr, "\"burst\" requires \"rate\".\n");
+               fprintf(stderr, "'burst' requires 'rate'.\n");
                return -1;
        }
 
        if (prate64) {
                if (!rate64) {
-                       fprintf(stderr, "\"peakrate\" requires \"rate\".\n");
+                       fprintf(stderr, "'peakrate' requires 'rate'.\n");
                        return -1;
                }
                if (!mtu) {
-                       fprintf(stderr, "\"mtu\" is required, if \"peakrate\" is requested.\n");
+                       fprintf(stderr, "'mtu' is required, if 'peakrate' is requested.\n");
                        return -1;
                }
        }