diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-06-15 14:09:29 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-06-15 14:09:29 +0900 |
commit | 7802194ac0286c75e39f74a1624764eb2aa0fd7a (patch) | |
tree | a735c8ceb30419e39d9e36420cecde5f45e7187b /src/basic/socket-util.c | |
parent | 9868493e174c3d32b78318170bc98622c0c48f0b (diff) | |
download | systemd-7802194ac0286c75e39f74a1624764eb2aa0fd7a.tar.gz |
tree-wide: add missing whitespace at the end of comments
Diffstat (limited to 'src/basic/socket-util.c')
-rw-r--r-- | src/basic/socket-util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/socket-util.c b/src/basic/socket-util.c index 552ec053ff..f6e751a09f 100644 --- a/src/basic/socket-util.c +++ b/src/basic/socket-util.c @@ -107,7 +107,7 @@ int socket_address_verify(const SocketAddress *a, bool strict) { /* If there's no embedded NUL byte, then the size needs to match the whole * structure or the structure with one extra NUL byte suffixed. (Yeah, Linux is awful, * and considers both equivalent: getsockname() even extends sockaddr_un beyond its - * size if the path is non NUL terminated.)*/ + * size if the path is non NUL terminated.) */ if (!IN_SET(a->size, sizeof(a->sockaddr.un.sun_path), sizeof(a->sockaddr.un.sun_path)+1)) return -EINVAL; } @@ -1192,7 +1192,7 @@ int sockaddr_un_set_path(struct sockaddr_un *ret, const char *path) { /* Don't allow paths larger than the space in sockaddr_un. Note that we are a tiny bit more restrictive than * the kernel is: we insist on NUL termination (both for abstract namespace and regular file system socket * addresses!), which the kernel doesn't. We do this to reduce chance of incompatibility with other apps that - * do not expect non-NUL terminated file system path*/ + * do not expect non-NUL terminated file system path. */ if (l+1 > sizeof(ret->sun_path)) return -EINVAL; |