[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <946dd98f6597cdc9e75cce1929991ca3c6d6b12d.camel@sipsolutions.net>
Date: Wed, 22 Jan 2020 08:51:54 +0100
From: Johannes Berg <johannes@...solutions.net>
To: liuyang34 <yangliuxm34@...il.com>, Jeff Dike <jdike@...toit.com>,
Richard Weinberger <richard@....at>,
Anton Ivanov <anton.ivanov@...bridgegreys.com>,
Miklos Szeredi <miklos@...redi.hu>,
Bartosz Golaszewski <bgolaszewski@...libre.com>,
Alex Dewar <alex.dewar@....co.uk>,
linux-um@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-unionfs@...r.kernel.org
Cc: liuyang34 <liuyang34@...omi.com>
Subject: Re: [PATCH] overlayfs: print format optimization
> 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
Powered by blists - more mailing lists