mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-26 12:12:13 +03:00
linux/libzutil: use ARRAY_SIZE instead of constant for search paths
Reviewed-by: John Kennedy <john.kennedy@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12105
This commit is contained in:
@@ -168,7 +168,7 @@ out:
|
||||
(void) close(fd);
|
||||
}
|
||||
|
||||
static const char *
|
||||
static const char * const
|
||||
zpool_default_import_path[] = {
|
||||
"/dev"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user