Commit 24d85007 authored by Alessandro Rubini's avatar Alessandro Rubini

tools/specmem: fix error message

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent d7d1465e
......@@ -67,7 +67,7 @@ int main(int argc, char **argv)
}
if (uarg[0] & 3) {
fprintf(stderr, "%s: address \"%s\" not multiple of 4\n",
argv[0], argv[1]);
argv[0], argv[optind + 0]);
exit(1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment