> Date: Wed, 31 Aug 2022 19:31:47 +0000
> From: Klemens Nanni <[email protected]>
> 
> Another step towards more consistent behaviour across platforms.
> 
> This leaves only hppa and landisk **not** logging such copies,
> but I can't test on those.
> 
> OK?

ok kettenis@

> Index: sparc64_installboot.c
> ===================================================================
> RCS file: /cvs/src/usr.sbin/installboot/sparc64_installboot.c,v
> retrieving revision 1.9
> diff -u -p -r1.9 sparc64_installboot.c
> --- sparc64_installboot.c     20 Jul 2021 14:51:56 -0000      1.9
> +++ sparc64_installboot.c     31 Aug 2022 19:16:33 -0000
> @@ -103,6 +103,9 @@ md_installboot(int devfd, char *dev)
>       bootldr = fileprefix(root, bootldr);
>       if (bootldr == NULL)
>               exit(1);
> +     if (verbose)
> +             fprintf(stderr, "%s %s to %s\n",
> +                 (nowrite ? "would copy" : "copying"), stage2, bootldr);
>       if (!nowrite)
>               if (filecopy(stage2, bootldr) == -1)
>                       exit(1);
> 
> 

Reply via email to