View | Details | Raw Unified | Return to bug 33799
Collapse All | Expand All

(-)a/src/lxc/conf.c (-2 / +1 lines)
Lines 1511-1517 static int lxc_setup_ttydir_console(const struct lxc_rootfs *rootfs, Link Here
1511
		SYSERROR("failed with errno %d to create %s", errno, path);
1511
		SYSERROR("failed with errno %d to create %s", errno, path);
1512
		return -errno;
1512
		return -errno;
1513
	}
1513
	}
1514
 	DEBUG("created directory for console and tty devices at \%s\"", path);
1514
	DEBUG("created directory for console and tty devices at \"%s\"", path);
1515
1515
1516
	ret = snprintf(lxcpath, sizeof(lxcpath), "%s/dev/%s/console", rootfs->mount, ttydir);
1516
	ret = snprintf(lxcpath, sizeof(lxcpath), "%s/dev/%s/console", rootfs->mount, ttydir);
1517
	if (ret < 0 || (size_t)ret >= sizeof(lxcpath))
1517
	if (ret < 0 || (size_t)ret >= sizeof(lxcpath))
1518
- 

Return to bug 33799