linux: libspl: getmntany: remove unused argument
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Rich Ercolani <rincebrain@gmail.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12829
This commit is contained in:
parent
344bbc82e7
commit
9e184b7c35
|
@ -83,7 +83,7 @@ _sol_getmntent(FILE *fp, struct mnttab *mgetp)
|
|||
}
|
||||
|
||||
static int
|
||||
getextmntent_impl(FILE *fp, struct extmnttab *mp, int len)
|
||||
getextmntent_impl(FILE *fp, struct extmnttab *mp)
|
||||
{
|
||||
int ret;
|
||||
struct stat64 st;
|
||||
|
@ -137,7 +137,7 @@ getextmntent(const char *path, struct extmnttab *entry, struct stat64 *statbuf)
|
|||
*/
|
||||
|
||||
match = 0;
|
||||
while (getextmntent_impl(fp, entry, sizeof (*entry)) == 0) {
|
||||
while (getextmntent_impl(fp, entry) == 0) {
|
||||
if (makedev(entry->mnt_major, entry->mnt_minor) ==
|
||||
statbuf->st_dev) {
|
||||
match = 1;
|
||||
|
|
Loading…
Reference in New Issue