> Date: Tue, 22 Jun 2021 13:36:47 +0100
> From: Jason McIntyre <j...@kerhand.co.uk>
> 
> hi.
> 
> diff to reduce verbosity in mkuboot(8) usage. i don;t have the means to
> build this one.
> 
> ok?

ok kettenis@

> Index: mkuboot.c
> ===================================================================
> RCS file: /cvs/src/usr.sbin/mkuboot/mkuboot.c,v
> retrieving revision 1.10
> diff -u -p -r1.10 mkuboot.c
> --- mkuboot.c 1 Jun 2021 02:59:01 -0000       1.10
> +++ mkuboot.c 22 Jun 2021 12:36:08 -0000
> @@ -395,16 +395,6 @@ usage(void)
>       (void)fprintf(stderr,
>           "usage: %s [-a arch] [-e entry] [-l loadaddr] [-n name] [-o os] "
>           "[-t type] infile outfile\n", __progname);
> -     (void)fprintf(stderr,
> -         "arch is one of:");
> -     for (mapptr = archmap; mapptr->arch; mapptr++)
> -             (void)fprintf(stderr, " %s", mapptr->arch);
> -     (void)fprintf(stderr, "\n");
> -     (void)fprintf(stderr,
> -         "os is one of:");
> -     for (osmapptr = osmap; osmapptr->arch; osmapptr++)
> -             (void)fprintf(stderr, " %s", osmapptr->arch);
> -     (void)fprintf(stderr, "\n");
>       
>       exit(1);
>  }
> 
> 

Reply via email to