diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-03-08 21:43:26 +0200 | 
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-03-08 21:44:53 +0200 | 
| commit | 0d6f7fd6fd9dcaa62fb77a10d3a1ad8d0d74f980 (patch) | |
| tree | db39fd913f349a353a62ead250210aab49a8cc09 /lib/agentx.c | |
| parent | 3c685e64ff0529cf5bf949dca0b63faf8b79ccb6 (diff) | |
*: Replace `sizeof something` to sizeof(something)
Satisfy checkpatch.pl requirements (check for sizeof without parenthesis)
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'lib/agentx.c')
| -rw-r--r-- | lib/agentx.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/agentx.c b/lib/agentx.c index b479b5ea4c..d1b801fe8c 100644 --- a/lib/agentx.c +++ b/lib/agentx.c @@ -264,7 +264,7 @@ int smux_trap(struct variable *vp, size_t vp_len, const oid *ename,  	      uint8_t sptrap)  {  	oid objid_snmptrap[] = {1, 3, 6, 1, 6, 3, 1, 1, 4, 1, 0}; -	size_t objid_snmptrap_len = sizeof objid_snmptrap / sizeof(oid); +	size_t objid_snmptrap_len = sizeof(objid_snmptrap) / sizeof(oid);  	oid notification_oid[MAX_OID_LEN];  	size_t notification_oid_len;  	unsigned int i;  | 
