ptserver: Use correct structure type in malloc
authorSimon Wilkinson <sxw@your-file-system.com>
Tue, 12 Feb 2013 13:54:18 +0000 (13:54 +0000)
committerJeffrey Altman <jaltman@your-file-system.com>
Thu, 21 Feb 2013 17:09:01 +0000 (09:09 -0800)
commit2ee578d80034d8c636ebc1b242942865eb338f4f
treefb5859ca3e5f7071141711510580f0fa6d6cd932
parentd7e7f18887ab8cd4b4539aaf978a7d98a9b38a27
ptserver: Use correct structure type in malloc

prentries is a list of 'struct prlistentries' objects, not a list of
'struct prentry'. Use the correct type in our call to malloc.

Caught by clang analyzer

Change-Id: I6c36e4b875eafb8aff6506cf800d47b45a79825d
Reviewed-on: http://gerrit.openafs.org/9150
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/ptserver/ptprocs.c