msrtool: Fix typo
[coreboot.git] / util / msrtool / msrutils.c
index 5a5fbd806b205ad50f8e634aaab6bedcf9e39886..de3333e6dbeeea6d61b96cb9af94231b203265ad 100644 (file)
@@ -205,7 +205,7 @@ int dumpmsrdefsvals(FILE *f, const struct targetdef *t, const uint8_t cpu) {
  * @param str The string to parse. The string must be writable but will be
  * restored before return.
  * @param msr Pointer to the struct msr where the value will be stored.
- * @param endptr If endpotr is not NULL, *endptr will point to after the MSR.
+ * @param endptr If endptr is not NULL, *endptr will point to after the MSR.
  * @return 1 on success, 0 on parse failure. msr is unchanged on failure.
  */
 uint8_t str2msr(char *str, struct msr *msr, char **endptr) {