Commit e5129512 authored by Phil Blundell's avatar Phil Blundell

Fix uninitialised variable (was causing problems on SPARC apparently)

(From Aron Griffis <agriffis@coat.com>)
parent 4077f846
......@@ -240,7 +240,7 @@ int main(int argc, char **argv)
char type='\0';
int option_index = 0;
int what = 0;
char myname[MAXHOSTNAMELEN+1];
char myname[MAXHOSTNAMELEN+1] = { 0 };
char *file=NULL;
static const struct option long_options[] =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment