diff options
| author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-02-06 19:15:45 +0100 |
|---|---|---|
| committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-02-06 20:01:55 +0100 |
| commit | 46f5203a8d1a05e464b5138b512d81a86dca6517 (patch) | |
| tree | 2484ec94175c8936caca7d4552d002f3be6f33d4 /tcpdump.c | |
| parent | d714c9b427ae38d12423e6cc0f718a06d1f7c158 (diff) | |
| download | tcpdump-46f5203a8d1a05e464b5138b512d81a86dca6517.tar.gz | |
Style update
Use parens around the sizeof argument, to match the style used elsewhere.
Diffstat (limited to 'tcpdump.c')
| -rw-r--r-- | tcpdump.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1327,7 +1327,7 @@ main(int argc, char **argv) /* * Initialize the netdissect code. */ - if (nd_init(ebuf, sizeof ebuf) == -1) + if (nd_init(ebuf, sizeof(ebuf)) == -1) error("%s", ebuf); memset(ndo, 0, sizeof(*ndo)); @@ -1528,7 +1528,7 @@ main(int argc, char **argv) case 'm': if (nd_have_smi_support()) { - if (nd_load_smi_module(optarg, ebuf, sizeof ebuf) == -1) + if (nd_load_smi_module(optarg, ebuf, sizeof(ebuf)) == -1) error("%s", ebuf); } else { (void)fprintf(stderr, "%s: ignoring option `-m %s' ", |
