ok mmcc@
Michal Mazurek wrote:
> Index: bin/df/df.c
> ===================================================================
> RCS file: /cvs/src/bin/df/df.c,v
> retrieving revision 1.55
> diff -u -p -r1.55 df.c
> --- bin/df/df.c 8 Feb 2016 16:23:54 -0000 1.55
> +++ bin/df/df.c 1 Mar 2016 11:36:54 -0000
> @@ -47,8 +47,6 @@
> #include <unistd.h>
> #include <util.h>
>
> -extern char *__progname;
> -
> char *getmntpt(char *);
> int selected(const char *);
> void maketypelist(char *);
> @@ -461,6 +459,6 @@ usage(void)
> {
> (void)fprintf(stderr,
> "usage: %s [-hiklnP] [-t type] [[file | file_system] ...]\n",
> - __progname);
> + getprogname());
> exit(1);
> }
>
> --
> Michal Mazurek
>