Loading hw/lm32_hwsetup.h +1 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ static inline void hwsetup_add_tag(HWSetup *hw, enum hwsetup_tag t) static inline void hwsetup_add_str(HWSetup *hw, const char *str) { strncpy(hw->ptr, str, 31); /* make sure last byte is zero */ pstrcpy(hw->ptr, 32, str); hw->ptr += 32; } Loading Loading
hw/lm32_hwsetup.h +1 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ static inline void hwsetup_add_tag(HWSetup *hw, enum hwsetup_tag t) static inline void hwsetup_add_str(HWSetup *hw, const char *str) { strncpy(hw->ptr, str, 31); /* make sure last byte is zero */ pstrcpy(hw->ptr, 32, str); hw->ptr += 32; } Loading