mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
kismet: drop unneeded musl patch
This commit is contained in:
parent
e14a05cf6d
commit
0ab586ea43
1 changed files with 0 additions and 18 deletions
|
@ -1,18 +0,0 @@
|
||||||
--- util.cc.orig
|
|
||||||
+++ util.cc
|
|
||||||
@@ -917,13 +917,8 @@
|
|
||||||
|
|
||||||
d_errstr[0] = '\0';
|
|
||||||
|
|
||||||
- STRERROR_R_T r;
|
|
||||||
- r = strerror_r(errnum, d_errstr, 1024);
|
|
||||||
-
|
|
||||||
- if (strlen(r) == 0)
|
|
||||||
- rs = fmt::format("Unknown error: {}", errnum);
|
|
||||||
- else
|
|
||||||
- rs = std::string(d_errstr, 1024);
|
|
||||||
+ strerror_r(errnum, d_errstr, 1024);
|
|
||||||
+ rs = std::string(d_errstr, 1024);
|
|
||||||
|
|
||||||
delete[] d_errstr;
|
|
||||||
return rs;
|
|
Loading…
Add table
Reference in a new issue