diff options
Diffstat (limited to 'apps/netutils/tftpc/tftpc_get.c')
-rw-r--r-- | apps/netutils/tftpc/tftpc_get.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/netutils/tftpc/tftpc_get.c b/apps/netutils/tftpc/tftpc_get.c index e0779d17d..f4fb74dd3 100644 --- a/apps/netutils/tftpc/tftpc_get.c +++ b/apps/netutils/tftpc/tftpc_get.c @@ -167,7 +167,7 @@ int tftpget(const char *remote, const char *local, in_addr_t addr, bool binary) if (!packet) { ndbg("packet memory allocation failure\n"); - errno = ENOMEM; + set_errno(ENOMEM); goto errout; } |