diff options
author | 2023-08-12 03:32:21 -0300 | |
---|---|---|
committer | 2023-08-12 03:36:53 -0300 | |
commit | 23009808495243a08223a2c50397b01fa80ca115 (patch) | |
tree | 86a505750f085856b32bc232d272ea6c26081ce9 /src/firemon/procevent.c | |
parent | small nettrace update (diff) | |
download | firejail-23009808495243a08223a2c50397b01fa80ca115.tar.gz firejail-23009808495243a08223a2c50397b01fa80ca115.tar.zst firejail-23009808495243a08223a2c50397b01fa80ca115.zip |
build: fix codespell errors
This fixes the following errors:
$ make codespell
[...]
codespell --ignore-regex "UE|creat|doas|shotcut|ether" src test
src/firemon/procevent.c:188: duble ==> double
src/fnettrace/main.c:30: postive ==> positive
src/fnettrace/main.c:30: defiend ==> defined
src/fnettrace/main.c:482: isplay ==> display
make: *** [Makefile:371: codespell] Error 65
$ codespell --version
2.2.5
Added in the following commits:
* bef5d86a1 ("increase socket buffer size for firemon, bug #2700",
2019-09-29)
* c4962789f ("nettrace stats", 2023-08-08)
Diffstat (limited to 'src/firemon/procevent.c')
-rw-r--r-- | src/firemon/procevent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firemon/procevent.c b/src/firemon/procevent.c index 77739c1f3..63d69d1cd 100644 --- a/src/firemon/procevent.c +++ b/src/firemon/procevent.c | |||
@@ -185,7 +185,7 @@ static int procevent_netlink_setup(void) { | |||
185 | if (getsockopt(sock, SOL_SOCKET, SO_RCVBUF, &bsize, &blen) == -1) | 185 | if (getsockopt(sock, SOL_SOCKET, SO_RCVBUF, &bsize, &blen) == -1) |
186 | fprintf(stderr, "Error: cannot read rx buffer size\n"); | 186 | fprintf(stderr, "Error: cannot read rx buffer size\n"); |
187 | else | 187 | else |
188 | printf("rx buffer size %d\n", bsize / 2); // the value returned is duble the real one, see man 7 socket | 188 | printf("rx buffer size %d\n", bsize / 2); // the value returned is double the real one, see man 7 socket |
189 | } | 189 | } |
190 | 190 | ||
191 | // send monitoring message | 191 | // send monitoring message |