- // must be at least +3!! 1 for the null and 2 for the ???
- tag->hdr.size = (strlen(cmdline) + 3 + sizeof(struct tag_header)) >> 2;
- //tag->hdr.size = (strlen(cmdline) + 10 + sizeof(struct tag_header)) >> 2;
+ // tag header, zero-terminated string and round size to 32-bit words
+ tag->hdr.size = (sizeof (struct tag_header) + strlen (cmdline) + 1 + 3) >> 2;