From 1177e884f67269a627990a7265346c93ebb79600 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Tue, 30 May 2023 16:35:09 +0200 Subject: [PATCH] add missing & --- src/uu/uname/src/uname.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/uname/src/uname.rs b/src/uu/uname/src/uname.rs index 5b2c98e068c..53e3a546ba8 100644 --- a/src/uu/uname/src/uname.rs +++ b/src/uu/uname/src/uname.rs @@ -69,7 +69,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> { } if nodename || all { - output.push_str(uname.nodename().to_string_lossy()); + output.push_str(&uname.nodename().to_string_lossy()); output.push(' '); }