vsys: Avoid uninitialised variable warning

Initialise the parms array to 0 so that we don't get warnings from
the compiler when we call syscall() using it.

Caught by coverity (#985949)

Change-Id: I134841bcb334d06146386e55ebfa38c7be993311
Reviewed-on: http://gerrit.openafs.org/9395
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
Simon Wilkinson 2013-03-02 10:42:27 +00:00 committed by Jeffrey Altman
parent f322b0ff1e
commit a666bfd67b

View File

@ -33,6 +33,8 @@ main(int argc, char **argv)
afs_int32 parms[6];
int numberFlag;
memset(&parms, 0, sizeof(parms));
if (argc < 2) {
printf("use: vsys <call number> <parms>\n");
exit(1);