diff options
| author | Philipp Stephani | 2019-04-18 23:19:05 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2019-04-18 23:19:05 +0200 |
| commit | 856806d30fb16dbe695633a2dbe35a8fb4348998 (patch) | |
| tree | 0021336cdb0aac4916adfad96dc878d58f5ad3e3 /lib-src | |
| parent | e7caf9c744118910163ec452a05a5b90d6398755 (diff) | |
| download | emacs-856806d30fb16dbe695633a2dbe35a8fb4348998.tar.gz emacs-856806d30fb16dbe695633a2dbe35a8fb4348998.zip | |
* lib-src/make-fingerprint.c (main): Properly initialize 'prog'
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/make-fingerprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/make-fingerprint.c b/lib-src/make-fingerprint.c index b0a51abf290..38a33576148 100644 --- a/lib-src/make-fingerprint.c +++ b/lib-src/make-fingerprint.c | |||
| @@ -80,7 +80,7 @@ main (int argc, char **argv) | |||
| 80 | struct sha256_ctx ctx; | 80 | struct sha256_ctx ctx; |
| 81 | sha256_init_ctx (&ctx); | 81 | sha256_init_ctx (&ctx); |
| 82 | 82 | ||
| 83 | char *prog = prog; | 83 | char *prog = argv[0]; |
| 84 | char *file = argv[optind]; | 84 | char *file = argv[optind]; |
| 85 | if (argc - optind != 1) | 85 | if (argc - optind != 1) |
| 86 | { | 86 | { |