Skip to content
Permalink
Browse files

increase buf to hold maximum possible path with dev

  • Loading branch information...
mattmacy committed Jul 10, 2019
1 parent 8d19d94 commit 7abeba1a97c0c0b378018a2d30e491cff7f3fff0
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/libzfs/libzfs_pool.c
@@ -2611,7 +2611,7 @@ zpool_find_vdev(zpool_handle_t *zhp, const char *ipath, boolean_t *avail_spare,
nvlist_t *nvroot, *search, *ret;
uint64_t guid;
int firstpass;
char buf[1024];
char buf[MAXPATHLEN+16];

firstpass = 1;
path = ipath;

0 comments on commit 7abeba1

Please sign in to comment.
You can’t perform that action at this time.