projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
*: add optimization barrier to all "G trick" locations
[oweals/busybox.git]
/
util-linux
/
fdisk.c
diff --git
a/util-linux/fdisk.c
b/util-linux/fdisk.c
index c98a74fc09b80970295d5af5733fe1508f740f1e..827ea21f34a916b7bf7d080e6b8804fcfd666526 100644
(file)
--- a/
util-linux/fdisk.c
+++ b/
util-linux/fdisk.c
@@
-309,7
+309,7
@@
struct globals {
#define MBRbuffer (G.MBRbuffer)
#define ptes (G.ptes)
#define INIT_G() do { \
-
PTR_TO_GLOBALS = xzalloc(sizeof(G
)); \
+
SET_PTR_TO_GLOBALS(xzalloc(sizeof(G)
)); \
sector_size = DEFAULT_SECTOR_SIZE; \
sector_offset = 1; \
g_partitions = 4; \