diff options
author | Ben Boeckel <mathstuf@gmail.com> | 2019-04-26 20:22:40 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-04-29 16:47:18 +0200 |
commit | 5238e9575906297608ff802a27e2ff9effa3b338 (patch) | |
tree | e17c534a09908167a0697a49ed3237f43134eb4c /src/libsystemd-network | |
parent | 51aba17b88617515e037e8985d3a4ea871ac47fe (diff) | |
download | systemd-5238e9575906297608ff802a27e2ff9effa3b338.tar.gz |
codespell: fix spelling errors
Diffstat (limited to 'src/libsystemd-network')
-rw-r--r-- | src/libsystemd-network/test-ndisc-ra.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-network/test-ndisc-ra.c b/src/libsystemd-network/test-ndisc-ra.c index 7dc44e5674..7c6c4663f3 100644 --- a/src/libsystemd-network/test-ndisc-ra.c +++ b/src/libsystemd-network/test-ndisc-ra.c @@ -60,7 +60,7 @@ static struct { unsigned char prefixlen; uint32_t valid; uint32_t preferred; - bool succesful; + bool successful; } prefix[] = { { { { { 0x20, 0x01, 0x0d, 0xb8, 0xde, 0xad, 0xbe, 0xef, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } }, 64, @@ -329,7 +329,7 @@ static void test_ra(void) { if (prefix[i].preferred) assert_se(sd_radv_prefix_set_preferred_lifetime(p, prefix[i].preferred) >= 0); - assert_se((sd_radv_add_prefix(ra, p, false) >= 0) == prefix[i].succesful); + assert_se((sd_radv_add_prefix(ra, p, false) >= 0) == prefix[i].successful); assert_se(sd_radv_add_prefix(ra, p, false) < 0); p = sd_radv_prefix_unref(p); |