• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-c誰得cocoaqtpythonrubywindowsphpgameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwitterdombtronvb.nettestarduinodirectxpreviewerゲームエンジン

external/busybox


Commit MetaInfo

Revision0aeca07b7b12ff2a179ff94dcf405b024cec19a2 (tree)
Time2020-04-14 08:42:45
AuthorMauro Rossi <issor.oruam@gmai...>
CommiterMauro Rossi

Log Message

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

Incremental Difference

--- 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)