function old new delta
sv 1297 1296 -1
svc_main 162 145 -17
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
#define islog (G.islog )
#define INIT_G() do { \
setup_common_bufsiz(); \
- /* need to zero out, we are NOEXEC */ \
- rc = EXIT_SUCCESS; \
- islog = 0; \
- /* other fields need not be zero */ \
+ /* need to zero out, svc calls sv() repeatedly */ \
+ memset(&G, 0, sizeof(G)); \
} while (0)
const char *optstring;
unsigned opts;
- INIT_G();
-
optstring = "udopchaitkx";
opts = getopt32(argv, optstring);
argv += optind;