From: kn Date: Tue, 22 Nov 2022 14:37:58 +0000 (+0000) Subject: Add missing parantheses around if block X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=dcbdaee61deab212d238ffa356c59fd9897ac3a5;p=openbsd Add missing parantheses around if block Stated during review but missed in the previous commit. --- 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;