Fixes some typos and missing newlines Jonathan Boeing (2): fix a few typos add missing '\n' to dprintf com32/include/sys/module.h | 2 +- com32/lib/sys/module/exec.c | 4 ++-- core/fs/fs.c | 2 +- core/lwip/src/netif/undiif.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) -- 2.3.0
Signed-off-by: Jonathan Boeing <jonathan.n.boeing at gmail.com> --- com32/include/sys/module.h | 2 +- core/fs/fs.c | 2 +- core/lwip/src/netif/undiif.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/com32/include/sys/module.h b/com32/include/sys/module.h index 3e5a8d9..48d65b2 100644 --- a/com32/include/sys/module.h +++ b/com32/include/sys/module.h @@ -263,7 +263,7 @@ extern int _module_unload(struct elf_module *module); * * This function returns the type of module we're dealing with * either a library module ( LIB_MODULE ), executable module ( EXEC_MODULE ), - * or an error ( UNKNOWN_MODULE ). The way it checks teh type is by checking to see + * or an error ( UNKNOWN_MODULE ). The way it checks the type is by checking to see * if the module has its main_func set ( in which case it's an executable ). In case * it doesn't it then checks to see if init_func is set ( in which case it's a * library module. If this isn't the case either we don't know what it is so bail out diff --git a/core/fs/fs.c b/core/fs/fs.c index 0846c88..4161848 100644 --- a/core/fs/fs.c +++ b/core/fs/fs.c @@ -331,7 +331,7 @@ err_path: return file_to_handle(file); err: - dprintf("serachdir: error seraching file %s\n", name); + dprintf("searchdir: error searching file %s\n", name); _close_file(file); err_no_close: return -1; diff --git a/core/lwip/src/netif/undiif.c b/core/lwip/src/netif/undiif.c index e62a984..d68edef 100644 --- a/core/lwip/src/netif/undiif.c +++ b/core/lwip/src/netif/undiif.c @@ -45,7 +45,7 @@ * something that better describes your network interface. */ -/* other headers include deprintf.h too early */ +/* other headers include dprintf.h too early */ #define UNDIIF_ID_FULL_DEBUG (UNDIIF_ID_DEBUG | UNDIIF_DEBUG) #if UNDIIF_ID_FULL_DEBUG -- 2.3.0
Signed-off-by: Jonathan Boeing <jonathan.n.boeing at gmail.com> --- com32/lib/sys/module/exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com32/lib/sys/module/exec.c b/com32/lib/sys/module/exec.c index 84b96e0..3bf1eff 100644 --- a/com32/lib/sys/module/exec.c +++ b/com32/lib/sys/module/exec.c @@ -162,7 +162,7 @@ int spawn_load(const char *name, int argc, char **argv) struct elf_module *cur_module; int type; - dprintf("enter: name = %s", name); + dprintf("enter: name = %s\n", name); if (module == NULL) return -1; @@ -190,7 +190,7 @@ int spawn_load(const char *name, int argc, char **argv) type = get_module_type(module); - dprintf("type = %d, prev = %s, cur = %s", + dprintf("type = %d, prev = %s, cur = %s\n", type, cur_module->name, module->name); if(type==EXEC_MODULE) -- 2.3.0