]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_pci/rte_pci.h
pci: use OS generic memory mapping functions
[dpdk.git] / lib / librte_pci / rte_pci.h
index 4087771c1e44b24b31ca305c92b2690463d29483..b721bbf5800db9336a8411837f3044f0b7f487b3 100644 (file)
@@ -159,7 +159,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, the value MAP_FAILED is returned.
+ *   - On error, NULL is returned.
  */
 void *pci_map_resource(void *requested_addr, int fd, off_t offset,
                size_t size, int additional_flags);