diff options
author | Didier Raboud <odyx@debian.org> | 2015-02-11 10:11:48 +0100 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2015-02-11 10:11:48 +0100 |
commit | caf29f9b4b4b7beb6c9877790b77bcd1d5914ed5 (patch) | |
tree | 5ac88811d164f3ddca0cb82e3e90131f636921cd | |
parent | 291ae9a0c75d0a99df47a067218b696fad41e58f (diff) |
Fix the aquire->acquire typo
-rw-r--r-- | src/ippusbxd.c | 6 | ||||
-rw-r--r-- | src/usb.c | 4 | ||||
-rw-r--r-- | src/usb.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/ippusbxd.c b/src/ippusbxd.c index 571b6f3..95f161e 100644 --- a/src/ippusbxd.c +++ b/src/ippusbxd.c @@ -61,13 +61,13 @@ static void *service_connection(void *arg_void) ERR_AND_EXIT("Got null packet from tcp"); } if (usb == NULL) { - usb = usb_conn_aquire(arg->usb_sock, 1); + usb = usb_conn_acquire(arg->usb_sock, 1); if (usb == NULL) { - ERR("Failed to aquire usb interface"); + ERR("Failed to acquire usb interface"); packet_free(pkt); goto cleanup_subconn; } - NOTE("Interface #%d: aquired usb conn", + NOTE("Interface #%d: acquired usb conn", usb->interface_index); } @@ -195,7 +195,7 @@ found_device: (uint8_t)selected_config, &config); if (status != 0 || config == NULL) { - ERR("Failed to aquire config descriptor"); + ERR("Failed to acquire config descriptor"); goto error; } @@ -454,7 +454,7 @@ static int usb_all_conns_staled(struct usb_sock_t *usb) return staled; } -struct usb_conn_t *usb_conn_aquire(struct usb_sock_t *usb, +struct usb_conn_t *usb_conn_acquire(struct usb_sock_t *usb, int is_high_priority) { int used_high_priority = 0; @@ -64,7 +64,7 @@ void usb_close(struct usb_sock_t *); int usb_can_callback(struct usb_sock_t *); void usb_register_callback(struct usb_sock_t *); -struct usb_conn_t *usb_conn_aquire(struct usb_sock_t *, int); +struct usb_conn_t *usb_conn_acquire(struct usb_sock_t *, int); void usb_conn_release(struct usb_conn_t *); void usb_conn_packet_send(struct usb_conn_t *, struct http_packet_t *); |