diff options
author | наб <[email protected]> | 2021-12-09 23:39:36 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-12-13 15:49:59 -0800 |
commit | 9e184b7c35e5b7520275060996236805625fc184 (patch) | |
tree | db8bac378342b0a15e4dcfbfbce80579ede32db3 | |
parent | 344bbc82e7054f61d5e7b3610b119820285fd2cb (diff) |
linux: libspl: getmntany: remove unused argument
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Rich Ercolani <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #12829
-rw-r--r-- | lib/libspl/os/linux/getmntany.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libspl/os/linux/getmntany.c b/lib/libspl/os/linux/getmntany.c index d458b28ad..3713ff38e 100644 --- a/lib/libspl/os/linux/getmntany.c +++ b/lib/libspl/os/linux/getmntany.c @@ -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; |