aboutsummaryrefslogtreecommitdiff
path: root/coreutils/dd.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/dd.c')
-rw-r--r--coreutils/dd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c
index a5b8882a0..4dc302926 100644
--- a/coreutils/dd.c
+++ b/coreutils/dd.c
@@ -111,6 +111,7 @@ struct globals {
111} FIX_ALIASING; 111} FIX_ALIASING;
112#define G (*(struct globals*)bb_common_bufsiz1) 112#define G (*(struct globals*)bb_common_bufsiz1)
113#define INIT_G() do { \ 113#define INIT_G() do { \
114 setup_common_bufsiz(); \
114 /* we have to zero it out because of NOEXEC */ \ 115 /* we have to zero it out because of NOEXEC */ \
115 memset(&G, 0, sizeof(G)); \ 116 memset(&G, 0, sizeof(G)); \
116} while (0) 117} while (0)