From be5ff5c51093df2557a4821ce5c0229b51f0c7a9 Mon Sep 17 00:00:00 2001 From: Keith Busch Date: Mon, 15 Aug 2016 11:31:42 -0600 Subject: [PATCH] intel-nvme: Remove newline from filename The filename shouldn't have the special character. Signed-off-by: Keith Busch --- intel-nvme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intel-nvme.c b/intel-nvme.c index 34de0f0..31b664d 100644 --- a/intel-nvme.c +++ b/intel-nvme.c @@ -295,7 +295,7 @@ static int get_internal_log(int argc, char **argv, struct command *command, stru i--; } - sprintf(f, "%s_%-.*s.bin\n", cfg.log == 0 ? "Nlog" : + sprintf(f, "%s_%-.*s.bin", cfg.log == 0 ? "Nlog" : cfg.log == 2 ? "EventLog" : "AssertLog", (int)sizeof(ctrl.sn), ctrl.sn); cfg.file = f; -- 2.50.1