Rev 4263 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4263 | Rev 4327 | ||
---|---|---|---|
Line 67... | Line 67... | ||
67 | } |
67 | } |
68 | cp--; |
68 | cp--; |
69 | } |
69 | } |
70 | 70 | ||
71 | /* Copy the command. */ |
71 | /* Copy the command. */ |
72 | str_ncpy(buf, start, min(sz, (size_t) (end - start) + 1)); |
72 | str_ncpy(buf, sz, start, (size_t) (end - start)); |
73 | } |
73 | } |
74 | 74 | ||
75 | /** Parse multiboot information structure. |
75 | /** Parse multiboot information structure. |
76 | * |
76 | * |
77 | * If @a signature does not contain a valid multiboot signature, |
77 | * If @a signature does not contain a valid multiboot signature, |