From e7358838d547fd647938353222b89dfc1181c57b Mon Sep 17 00:00:00 2001 From: Nadja Reitzenstein Date: Thu, 23 Jun 2022 17:31:57 +0200 Subject: [PATCH] Oh whoops handle that --- bffhd/audit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bffhd/audit.rs b/bffhd/audit.rs index e30fe3d..35f0340 100644 --- a/bffhd/audit.rs +++ b/bffhd/audit.rs @@ -51,7 +51,7 @@ impl AuditLog { let mut ser = Serializer::new(&mut writer); line.serialize(&mut ser) .expect("failed to serialize audit log line"); - writer.write("\n".as_bytes())?; + writer.write_all("\n".as_bytes())?; Ok(()) } }