Message ID | 1538712196-13625-4-git-send-email-sandeen@sandeen.net (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | xfsprogs: sparse fixes | expand |
On Thu, Oct 04, 2018 at 11:03:04PM -0500, Eric Sandeen wrote: > From: Eric Sandeen <sandeen@redhat.com> > > Fixes sparse warnings about this. Looks good, Reviewed-by: Christoph Hellwig <hch@lst.de>
diff --git a/mkfs/xfs_mkfs.c b/mkfs/xfs_mkfs.c index 7c05c6f..2eec005 100644 --- a/mkfs/xfs_mkfs.c +++ b/mkfs/xfs_mkfs.c @@ -1661,7 +1661,10 @@ sector_opts_parser( struct subopts { char opt; struct opt_params *opts; - int (*parser)(); + int (*parser)(struct opt_params *opts, + int subopt, + char *value, + struct cli_params *cli); } subopt_tab[] = { { 'b', &bopts, block_opts_parser }, { 'd', &dopts, data_opts_parser },