diff options
| author | Mario Six <[email protected]> | 2018-03-28 14:38:20 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2018-04-08 18:31:09 -0400 |
| commit | 5bc0543df3079add8152afa041b887d081d71839 (patch) | |
| tree | 52391dd5ad89ac8681dccb7efd6a3441e2ccec06 /include/env_default.h | |
| parent | 07dea2e737f78ee70e81c27d976811f0e9fdbad8 (diff) | |
treewide: Convert CONFIG_HOSTNAME to a string option
CONFIG_HOSTNAME is defined as a "plain" preprocessor string, but every
use is couched by __stringify(...).
Hence, convert it to a proper string option.
Signed-off-by: Mario Six <[email protected]>
Diffstat (limited to 'include/env_default.h')
| -rw-r--r-- | include/env_default.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/env_default.h b/include/env_default.h index ba1c3c0d74d..7d5988a1a50 100644 --- a/include/env_default.h +++ b/include/env_default.h @@ -75,7 +75,7 @@ const uchar default_environment[] = { "netmask=" __stringify(CONFIG_NETMASK) "\0" #endif #ifdef CONFIG_HOSTNAME - "hostname=" __stringify(CONFIG_HOSTNAME) "\0" + "hostname=" CONFIG_HOSTNAME "\0" #endif #ifdef CONFIG_BOOTFILE "bootfile=" CONFIG_BOOTFILE "\0" |
