kismet: drop unneeded musl patch
This commit is contained in:
parent
e14a05cf6d
commit
0ab586ea43
@ -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…
x
Reference in New Issue
Block a user