Skip to content

Commit c737d80

Browse files
kareem-wolfssldanielinux
authored andcommitted
Fix typos
1 parent 8a0d208 commit c737d80

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/lib.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ is initialized when `wolfBoot_open_image_address()` is called. The signature is:
1515
`int wolfBoot_open_image_address(struct wolfBoot_image* img, uint8_t* image)`
1616

1717

18-
where `img` is a pointer to a local (memset but otherwise uninitalized) structure of type `wolfBoot_image`, and
18+
where `img` is a pointer to a local (memset but otherwise uninitialized) structure of type `wolfBoot_image`, and
1919
`image` is a pointer to where the signed image is mapped in memory, starting from the beginning
2020
of the manifest header.
2121

src/image.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ uint32_t wolfBoot_image_size(uint8_t *image)
12721272
* the wolfBoot_image structure.
12731273
* Note that this function initializes the members of the wolfBoot_image structure
12741274
* but does not initialize the structure itself. It is expected that the wolfBoot_image
1275-
* struct is memset to 0 before being passed in, with image->hdr optionally set.
1275+
* struct is memset to 0 before being passed in, with img->hdr optionally set.
12761276
*
12771277
* @param img The pointer to the wolfBoot_image structure to be initialized.
12781278
* @param image The pointer to the image address.

0 commit comments

Comments
 (0)