diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-10 09:27:33 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-10 09:27:33 +0000 |
commit | e80777b54c5b430ca044e16878f59a2020423d48 (patch) | |
tree | b72b3422d129532b8f0ceb415c6e7c5109e3fe75 /app-admin/procinfo-ng/files/procinfo-ng-2.0.304-wformat-security.patch | |
parent | aa61828f226f3b30e6939408847d914a145fdf35 (diff) |
gentoo auto-resync : 10:11:2022 - 09:27:33
Diffstat (limited to 'app-admin/procinfo-ng/files/procinfo-ng-2.0.304-wformat-security.patch')
-rw-r--r-- | app-admin/procinfo-ng/files/procinfo-ng-2.0.304-wformat-security.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-admin/procinfo-ng/files/procinfo-ng-2.0.304-wformat-security.patch b/app-admin/procinfo-ng/files/procinfo-ng-2.0.304-wformat-security.patch new file mode 100644 index 000000000000..315983c9af30 --- /dev/null +++ b/app-admin/procinfo-ng/files/procinfo-ng-2.0.304-wformat-security.patch @@ -0,0 +1,11 @@ +--- a/procinfo.cpp ++++ b/procinfo.cpp +@@ -211,7 +211,7 @@ int mainLoop(bool perSecond, bool showTotals, bool showTotalsMem, bool fullScree + try { + rows = getNetStats(perSecond, showTotals, skipIfaces, elapsed); + } catch (string exceptionMessage) { +- print(exceptionMessage.c_str()); ++ print("%s", exceptionMessage.c_str()); + } + print("\n"); + prettyPrint(rows, rowWidth, true); |