diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2017-12-06 16:14:56 +0100 |
---|---|---|
committer | Krzysztof Opasiak <k.opasiak@samsung.com> | 2017-12-12 14:06:36 +0100 |
commit | 1809b5ae60a6eb54af0813b6393192c7756975c0 (patch) | |
tree | 125c3f749b1e69407980c52d6282ff5098111d8d /src | |
parent | e4d9cbf6ccdfc7210b61249146d62a2770573c69 (diff) | |
download | libusbg-1809b5ae60a6eb54af0813b6393192c7756975c0.tar.gz libusbg-1809b5ae60a6eb54af0813b6393192c7756975c0.tar.bz2 libusbg-1809b5ae60a6eb54af0813b6393192c7756975c0.zip |
libusbgx: fix: Correct typo in usbg_rm_file() funciton name
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/usbg.c | 4 | ||||
-rw-r--r-- | src/usbg_common.c | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -1221,7 +1221,7 @@ int usbg_rm_binding(usbg_binding *b) c = b->parent; - ret = ubsg_rm_file(b->path, b->name); + ret = usbg_rm_file(b->path, b->name); if (ret) goto out; @@ -2506,7 +2506,7 @@ static int usbg_rm_os_desc_link(usbg_gadget *g) goto free_dent; } - ret = ubsg_rm_file(bpath, dent[0]->d_name); + ret = usbg_rm_file(bpath, dent[0]->d_name); for (i = 0; i < n; i++) free(dent[i]); diff --git a/src/usbg_common.c b/src/usbg_common.c index b405a3d..f8822fc 100644 --- a/src/usbg_common.c +++ b/src/usbg_common.c @@ -211,7 +211,7 @@ int usbg_write_string(const char *path, const char *name, return ret; } -int ubsg_rm_file(const char *path, const char *name) +int usbg_rm_file(const char *path, const char *name) { int ret = USBG_SUCCESS; int nmb; |