diff options
Diffstat (limited to 'cmd/zpool_influxdb/zpool_influxdb.c')
-rw-r--r-- | cmd/zpool_influxdb/zpool_influxdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zpool_influxdb/zpool_influxdb.c b/cmd/zpool_influxdb/zpool_influxdb.c index 2d6859efb..57bb2ee7b 100644 --- a/cmd/zpool_influxdb/zpool_influxdb.c +++ b/cmd/zpool_influxdb/zpool_influxdb.c @@ -278,7 +278,7 @@ get_vdev_name(nvlist_t *nvroot, const char *parent_name) vdev_type); } else { (void) snprintf(vdev_name, sizeof (vdev_name), - "%s/%s-%llu", + "%.220s/%s-%llu", parent_name, vdev_type, (u_longlong_t)vdev_id); } return (vdev_name); |