From dcbdaee61deab212d238ffa356c59fd9897ac3a5 Mon Sep 17 00:00:00 2001 From: kn Date: Tue, 22 Nov 2022 14:37:58 +0000 Subject: [PATCH] Add missing parantheses around if block Stated during review but missed in the previous commit. --- usr.sbin/installboot/efi_installboot.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.sbin/installboot/efi_installboot.c b/usr.sbin/installboot/efi_installboot.c index 643254fd7df..99f12e7c424 100644 --- a/usr.sbin/installboot/efi_installboot.c +++ b/usr.sbin/installboot/efi_installboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: efi_installboot.c,v 1.8 2022/11/22 09:53:46 tobhe Exp $ */ +/* $OpenBSD: efi_installboot.c,v 1.9 2022/11/22 14:37:58 kn Exp $ */ /* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */ /* @@ -373,10 +373,11 @@ write_firmware(const char *root, const char *mnt) if (verbose) fprintf(stderr, "%s %s to %s\n", (nowrite ? "would copy" : "copying"), src, dst); - if (!nowrite) + if (!nowrite) { rslt = filecopy(src, dst); if (rslt == -1) goto cleanup; + } } rslt = 0; -- 2.20.1