]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/objcopy.c
objcopy: fix typo in --heap and --stack parser
[thirdparty/binutils-gdb.git] / binutils / objcopy.c
index ba304c218903f576675d7285c86e94e83ac9bb2d..6bc84bd9e844ad75347a78633a28e88361b11b24 100644 (file)
@@ -5910,7 +5910,7 @@ copy_main (int argc, char *argv[])
            char *end;
            pe_heap_reserve = strtoul (optarg, &end, 0);
            if (end == optarg
-               || (*end != '.' && *end != '\0'))
+               || (*end != ',' && *end != '\0'))
              non_fatal (_("%s: invalid reserve value for --heap"),
                         optarg);
            else if (*end != '\0')
@@ -5941,7 +5941,7 @@ copy_main (int argc, char *argv[])
            char *end;
            pe_stack_reserve = strtoul (optarg, &end, 0);
            if (end == optarg
-               || (*end != '.' && *end != '\0'))
+               || (*end != ',' && *end != '\0'))
              non_fatal (_("%s: invalid reserve value for --stack"),
                         optarg);
            else if (*end != '\0')