Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-busybox: Commit

external/busybox


Commit MetaInfo

Révision0aeca07b7b12ff2a179ff94dcf405b024cec19a2 (tree)
l'heure2020-04-14 08:42:45
AuteurMauro Rossi <issor.oruam@gmai...>
CommiterMauro Rossi

Message de Log

top: add the required setup_common_bufsiz() call

Based on 47cfbf32 ("*: add most of the required setup_common_bufsiz() calls")
with changes applied only to top.c

Change Summary

Modification

--- a/procps/top.c
+++ b/procps/top.c
@@ -201,6 +201,7 @@ enum { LINE_BUF_SIZE = COMMON_BUFSIZE - offsetof(struct globals, line_buf) };
201201 #define total_pcpu (G.total_pcpu )
202202 #define line_buf (G.line_buf )
203203 #define INIT_G() do { \
204+ setup_common_bufsiz(); \
204205 BUILD_BUG_ON(sizeof(G) > COMMON_BUFSIZE); \
205206 BUILD_BUG_ON(LINE_BUF_SIZE <= 80); \
206207 } while (0)
Afficher sur ancien navigateur de dépôt.