Commit 5e265a21 authored by Alessandro Rubini's avatar Alessandro Rubini

trivial: arch-wrs/wrs-startup.c: fit 80 columns

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 585979c6
......@@ -67,14 +67,12 @@ int main(int argc, char **argv)
conf_fd = open(CONF_PATH, O_RDONLY);
if ((stat(CONF_PATH, &conf_fs) < 0) ||
(conf_fd < 0)) {
pp_printf("Warning: could not open %s, default to one-link built-in "
"config\n", CONF_PATH);
if ((stat(CONF_PATH, &conf_fs) < 0) || (conf_fd < 0)) {
pp_printf("Warning: could not open %s, using one-link "
"built-in config\n", CONF_PATH);
conf_buf = "link 0\niface eth0";
conf_len = strlen(conf_buf);
}
else {
} else {
int r = 0, next_r;
conf_buf = calloc(1, conf_fs.st_size + 2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment