/* Pool name too long*/
errno = 0;
- rc = llapi_layout_pool_name_set(layout, "0123456789abcdef0");
+ rc = llapi_layout_pool_name_set(layout, "0123456789abcdef");
ASSERTF(rc == -1 && errno == EINVAL, "rc = %d, errno = %d", rc, errno);
llapi_layout_free(layout);
void test19(void)
{
struct llapi_layout *layout;
- char *name = "0123456789abcdef";
+ char *name = "0123456789abcde";
char mypool[LOV_MAXPOOLNAME + 1] = { '\0' };
int rc;
int rc = 0;
int i;
struct stat s;
- char fsname[8];
+ char fsname[8 + 1];
llapi_msg_set_level(LLAPI_MSG_OFF);