Skip to content

Commit

Permalink
Windows: set default value
Browse files Browse the repository at this point in the history
Parallel e25bcf9
Fix directory detection in dkms.mkconf

Signed-off-by: Andrew Innes <[email protected]>
  • Loading branch information
andrewc12 committed Sep 23, 2022
1 parent fe7e563 commit cbe7244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libzutil/os/windows/zutil_device_path_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ zfs_get_underlying_path(const char *dev_name)
boolean_t
zfs_dev_is_whole_disk(const char *dev_name)
{
struct dk_gpt *label;
struct dk_gpt *label = NULL;
int fd;

if ((fd = open(dev_name, O_RDONLY | O_DIRECT)) < 0)
Expand Down

0 comments on commit cbe7244

Please sign in to comment.