* lib-src/make-fingerprint.c (main): Properly initialize 'prog'

This commit is contained in:
Philipp Stephani 2019-04-18 23:19:05 +02:00
parent e7caf9c744
commit 856806d30f

View file

@ -80,7 +80,7 @@ main (int argc, char **argv)
struct sha256_ctx ctx;
sha256_init_ctx (&ctx);
char *prog = prog;
char *prog = argv[0];
char *file = argv[optind];
if (argc - optind != 1)
{