diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-06-02 17:48:05 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-06-06 19:59:08 +0200 |
commit | a2966471d815a965e2f4b86cdad30c8086c1ec6d (patch) | |
tree | ad9a637be3c17a7cc53787d31fcafbcbbab58674 /src | |
parent | 09155f682a66eaf1f1e7cb0859a5bc0e2c5a39cf (diff) |
lldp: use NULL instead 0, when we deal with a pointer
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd-network/lldp-neighbor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/lldp-neighbor.c b/src/libsystemd-network/lldp-neighbor.c index a4af303259..5811e0f2e8 100644 --- a/src/libsystemd-network/lldp-neighbor.c +++ b/src/libsystemd-network/lldp-neighbor.c @@ -675,7 +675,7 @@ _public_ int sd_lldp_neighbor_from_raw(sd_lldp_neighbor **ret, const void *raw, return r; *ret = n; - n = 0; + n = NULL; return r; } |