summaryrefslogtreecommitdiff
path: root/amideco.c
diff options
context:
space:
mode:
Diffstat (limited to 'amideco.c')
-rw-r--r--amideco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amideco.c b/amideco.c
index 3496ef6..cf952b9 100644
--- a/amideco.c
+++ b/amideco.c
@@ -423,7 +423,7 @@ main(int argc, char *argv[])
FileLength = lseek(fd, 0, SEEK_END);
if (FileLength < 0) {
fprintf(stderr, "Error: Failed to lseek \"%s\": %s\n",
- argv[1], strerror(errno));
+ FileName, strerror(errno));
return 1;
}
BIOSOffset = 0x100000 - FileLength;