openocd: use unique name for struct command_registration
[fw/openocd] / src / target / nds32_reg.c
index f82ffbfc4e31de9f037d565561a02c028253a042..034a075841c41c48bf196ef566420eeadb3a520c 100644 (file)
@@ -13,9 +13,7 @@
  *   GNU General Public License for more details.                          *
  *                                                                         *
  *   You should have received a copy of the GNU General Public License     *
- *   along with this program; if not, write to the                         *
- *   Free Software Foundation, Inc.,                                       *
- *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.           *
+ *   along with this program.  If not, see <http://www.gnu.org/licenses/>. *
  ***************************************************************************/
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -369,7 +367,7 @@ bool nds32_reg_exception(uint32_t number, uint32_t value)
                        field_value = (value >> ex_reg_value->ex_value_bit_pos) &
                                ex_reg_value->ex_value_mask;
                        if (field_value == ex_reg_value->ex_value) {
-                               LOG_WARNING("It will generate exceptions as setting %" PRId32 " to %s",
+                               LOG_WARNING("It will generate exceptions as setting %" PRIu32 " to %s",
                                                value, nds32_regs[number].simple_mnemonic);
                                return true;
                        }