]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_pci/rte_pci.h
common/mlx5: fix user mode register access command
[dpdk.git] / lib / librte_pci / rte_pci.h
index 104b2bb8586e4cf40735cdacda6b6ce57a8c89e1..a03235da1f2ae80e907b2a9fa278478300a94d87 100644 (file)
@@ -160,7 +160,7 @@ int rte_pci_addr_parse(const char *str, struct rte_pci_addr *addr);
  *      The additional flags for the mapping range.
  * @return
  *   - On success, the function returns a pointer to the mapped area.
- *   - On error, NULL is returned.
+ *   - On error, MAP_FAILED is returned.
  */
 void *pci_map_resource(void *requested_addr, int fd, off_t offset,
                size_t size, int additional_flags);