ALT Linux Bugzilla
– Attachment 7194 Details for
Bug 33799
lxc 2.0.8 не собирается lcc из-за опечатки
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
0001-conf-non-functional-fixup.patch
0001-conf-non-functional-fixup.patch (text/plain), 1.33 KB, created by
Michael Shigorin
on 2017-08-23 14:02:55 MSK
(
hide
)
Description:
0001-conf-non-functional-fixup.patch
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2017-08-23 14:02:55 MSK
Size:
1.33 KB
patch
obsolete
>From 20388d5a7f361e9b194ca58fbd67c8524092e7f5 Mon Sep 17 00:00:00 2001 >From: Michael Shigorin <mike@altlinux.org> >Date: Wed, 23 Aug 2017 13:56:51 +0300 >Subject: [PATCH] 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. > >Fixes: 78580ddbc13c0dd4e2c3af950f8dc96410502ced >--- > src/lxc/conf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/src/lxc/conf.c b/src/lxc/conf.c >index 923a4d9..94c9d87 100644 >--- a/src/lxc/conf.c >+++ b/src/lxc/conf.c >@@ -1511,7 +1511,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)) >-- >2.7.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 33799
: 7194