Index: stand/zfs/zfs.c =================================================================== --- stand/zfs/zfs.c +++ stand/zfs/zfs.c @@ -660,7 +660,7 @@ if (*np != ':') return (EINVAL); np++; - end = strchr(np, ':'); + end = strrchr(np, ':'); if (end == NULL) return (EINVAL); sep = strchr(np, '/');