Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

further lxc 2.1 preparations #1757

Merged
merged 17 commits into from
Aug 25, 2017
Prev Previous commit
Next Next commit
conf: non-functional fixup
Surfaced while building lxc-2.0.8 on e2k architecture with lcc,
looks like its -Wall is more pedantic than gcc's:

lcc: "conf.c", line 1514: error: unrecognized character escape sequence
          [-Werror]
        DEBUG("created directory for console and tty devices at \%s\"", path);
                                                                ^
 in expansion of macro "DEBUG" at line 1514

Another byte is a leading whitespace fix while at that.

Signed-off-by: Michael Shigorin <mike@altlinux.org>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Aug 24, 2017
commit 4742cd9a30eadcf3ef637e99e7a357b91f58b41d
2 changes: 1 addition & 1 deletion src/lxc/conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,7 @@ static int lxc_setup_ttydir_console(const struct lxc_rootfs *rootfs,
SYSERROR("failed with errno %d to create %s", errno, path);
return -errno;
}
DEBUG("created directory for console and tty devices at \%s\"", path);
DEBUG("Created directory for console and tty devices at \"%s\"", path);

ret = snprintf(lxcpath, sizeof(lxcpath), "%s/dev/%s/console", rootfs->mount, ttydir);
if (ret < 0 || (size_t)ret >= sizeof(lxcpath))
Expand Down