Joel Sherrill created an issue: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5112



## Summary

Coverity CID 1467406

Coverity spotted that line 1013 has an invalid printf format string.

```
1011    if ((flash_flags & page_desc->flags) != page_desc->flags)
1012    {
        
CID 1467406: (#1 of 1): Invalid printf format string (PRINTF_ARGS)
format_error: Invalid conversion specifier in %04 .[show details]
1013      rtems_fdisk_error ("  seg-write-page-flags: %02d-%03d-%03d: "
1014                         "flags not erased: 0x%04 -> 0x%04x",
1015                         sc->device, sc->segment, page,
1016                         flash_flags, page_desc->flags);
1017      return ret;
1018    }
```


## Steps to reproduce

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5112
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to