From: Johannes Berg <johannes@sipsolutions.net>
To: liuyang34 <yangliuxm34@gmail.com>, Jeff Dike <jdike@addtoit.com>,
Richard Weinberger <richard@nod.at>,
Anton Ivanov <anton.ivanov@cambridgegreys.com>,
Miklos Szeredi <miklos@szeredi.hu>,
Bartosz Golaszewski <bgolaszewski@baylibre.com>,
Alex Dewar <alex.dewar@gmx.co.uk>,
linux-um@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-unionfs@vger.kernel.org
Cc: liuyang34 <liuyang34@xiaomi.com>
Subject: Re: [PATCH] overlayfs: print format optimization
Date: Wed, 22 Jan 2020 08:51:54 +0100 [thread overview]
Message-ID: <946dd98f6597cdc9e75cce1929991ca3c6d6b12d.camel@sipsolutions.net> (raw)
In-Reply-To: <9e77421d905f0eda08753cf7a7b40f51b5b8c688.1579676323.git.liuyang34@xiaomi.com>
> diff --git a/arch/um/os-Linux/umid.c b/arch/um/os-Linux/umid.c
> index 44def53..54246b7 100644
> --- a/arch/um/os-Linux/umid.c
> +++ b/arch/um/os-Linux/umid.c
> @@ -349,7 +349,7 @@ int __init umid_file_name(char *name, char *buf, int len)
> if (err)
> return err;
>
> - n = snprintf(buf, len, "%s%s/%s", uml_dir, umid, name);
> + n = snddprintf(buf, len, "%s%s/%s", uml_dir, umid, name);
> if (n >= len) {
Huh, what's this?
johannes
prev parent reply other threads:[~2020-01-22 7:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1579676323.git.liuyang34@xiaomi.com>
2020-01-22 7:02 ` liuyang34
2020-01-22 7:51 ` Johannes Berg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=946dd98f6597cdc9e75cce1929991ca3c6d6b12d.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=alex.dewar@gmx.co.uk \
--cc=anton.ivanov@cambridgegreys.com \
--cc=bgolaszewski@baylibre.com \
--cc=jdike@addtoit.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-um@lists.infradead.org \
--cc=linux-unionfs@vger.kernel.org \
--cc=liuyang34@xiaomi.com \
--cc=miklos@szeredi.hu \
--cc=richard@nod.at \
--cc=yangliuxm34@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®