odhcpd: fix extra compiler warning
authorHans Dedecker <dedeckeh@gmail.com>
Sat, 3 Apr 2021 19:11:16 +0000 (21:11 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Sat, 3 Apr 2021 19:13:26 +0000 (21:13 +0200)
commit405da325b57e6793469964ee9a3bfe66df11d4ab
tree2060308b3fb98c629054dd64c28e9e196e3403df
parent8d8a8cd35137ff0fa11b6be455fdd596a8d7d2e9
odhcpd: fix extra compiler warning

src/odhcpd.c:143:2: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
  snprintf(buf, sizeof(buf), sysctl_pattern, ifname, what);
  ^~~~~~~~
cc1: all warnings being treated as errors

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/odhcpd.c