mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Use ZFS_DEV macro instead of literals
The rest of the code/comments use ZFS_DEV, so sync with that. Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com> Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com> Closes #8912
This commit is contained in:
committed by
Tony Hutter
parent
2087b6cf49
commit
fb6f6b47d6
+1
-1
@@ -223,7 +223,7 @@ pool_active(void *unused, const char *name, uint64_t guid,
|
||||
* Use ZFS_IOC_POOL_SYNC to confirm if a pool is active
|
||||
*/
|
||||
|
||||
fd = open("/dev/zfs", O_RDWR);
|
||||
fd = open(ZFS_DEV, O_RDWR);
|
||||
if (fd < 0)
|
||||
return (-1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user