diff options
author | phk <phk@FreeBSD.org> | 2003-05-31 20:07:16 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-05-31 20:07:16 +0000 |
commit | 0b4dbc280fc3199508b7872a54a605aff99be81b (patch) | |
tree | 83c0efa121a9012da5a8e9bcb9c2d2f98ce27122 /sys/net | |
parent | 1d37bf1e981d6b2be3cd94a19824631a8519ce1c (diff) | |
download | FreeBSD-src-0b4dbc280fc3199508b7872a54a605aff99be81b.zip FreeBSD-src-0b4dbc280fc3199508b7872a54a605aff99be81b.tar.gz |
Wrap macro in do {...} while(0);
Found by: FlexeLint
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_atmsubr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_atmsubr.c b/sys/net/if_atmsubr.c index 148c2ec..53dc570 100644 --- a/sys/net/if_atmsubr.c +++ b/sys/net/if_atmsubr.c @@ -77,7 +77,7 @@ SYSCTL_NODE(_hw, OID_AUTO, atm, CTLFLAG_RW, 0, "ATM hardware"); #define ETHERTYPE_IPV6 0x86dd #endif -#define senderr(e) { error = (e); goto bad;} +#define senderr(e) do { error = (e); goto bad;} while (0) /* * atm_output: ATM output routine |