Permalink
Browse files

Correct order of memset parameters

  • Loading branch information...
dp111 authored and themiron committed Feb 10, 2019
1 parent ed3c778 commit 0c1e93f8682ce7a8dc5a7b5b49516075cd6d50c8
Showing with 1 addition and 1 deletion.
  1. +1 −1 release/src/router/infosvr/storage.c
@@ -24,7 +24,7 @@

int getStorageStatus(STORAGE_INFO_T *st)
{
memset(st, sizeof(st), 0);
memset(st, 0, sizeof(st) );

st->AppHttpPort = __cpu_to_le16(nvram_get_int("dm_http_port"));

0 comments on commit 0c1e93f

Please sign in to comment.