From ceae6295645cfd10e2fa51e69d4ccc880355af47 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Fri, 29 May 2020 13:35:11 +0200 Subject: [PATCH] README: add a Fossies codespell badge I keep forgetting where the report is. Hopefully the badge will make it easier to find it. I also fixed several typos codespell found along the way. --- README.md | 1 + src/core/main.c | 2 +- src/network/networkd-dhcp6.c | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8e72fbc2be..f4ab897d92 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ System and Service Manager [![Language Grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/systemd/systemd.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/systemd/systemd/context:cpp)
[![CentOS CI Build Status](https://ci.centos.org/buildStatus/icon?job=systemd-pr-build)](https://ci.centos.org/job/systemd-pr-build/)
[![Build Status](https://dev.azure.com/evvers/systemd-systemd/_apis/build/status/systemd.systemd?branchName=master)](https://dev.azure.com/evvers/systemd-systemd/_build/latest?definitionId=1&branchName=master)
+[![Fossies codespell report](https://fossies.org/linux/test/systemd-master.tar.gz/codespell.svg)](https://fossies.org/linux/test/systemd-master.tar.gz/codespell.html)
[![Packaging status](https://repology.org/badge/tiny-repos/systemd.svg)](https://repology.org/project/systemd/versions) ## Details diff --git a/src/core/main.c b/src/core/main.c index 5dda164fef..32b963d4a4 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -517,7 +517,7 @@ static int parse_proc_cmdline_item(const char *key, const char *value, void *dat } else if (!value) { const char *target; - /* Compatible with SysV, but supported independently even if SysV compatiblity is disabled. */ + /* Compatible with SysV, but supported independently even if SysV compatibility is disabled. */ target = runlevel_to_target(key); if (target) return free_and_strdup_warn(&arg_default_unit, target); diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c index d0972f3593..6d1496306c 100644 --- a/src/network/networkd-dhcp6.c +++ b/src/network/networkd-dhcp6.c @@ -424,7 +424,7 @@ static int dhcp6_lease_pd_prefix_acquired(sd_dhcp6_client *client, Link *link) { * order. Prefixes that were previously already allocated to another * link will be skipped. - * If a subnet id request couldn't be fullfilled the failure will be logged (as error) + * If a subnet id request couldn't be fulfilled the failure will be logged (as error) * and no further attempts at obtaining a prefix will be made. * The assignment has to be split in two phases since subnet id @@ -442,7 +442,7 @@ static int dhcp6_lease_pd_prefix_acquired(sd_dhcp6_client *client, Link *link) { /* if r == -EAGAIN then the allocation failed because we ran * out of addresses for the preferred subnet id's. This doesn't - * mean we can't fullfill other prefix requests. + * mean we can't fulfill other prefix requests. * * Since we do not have dedicated lists of links that request * specific subnet id's and those that accept any prefix we @@ -458,7 +458,7 @@ static int dhcp6_lease_pd_prefix_acquired(sd_dhcp6_client *client, Link *link) { return r; /* If the prefix distribution did return -EAGAIN we will try to - * fullfill those with the next available pd delegated prefix. */ + * fulfill those with the next available pd delegated prefix. */ } return 0;