]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fit in 80
authorRoy Marples <roy@marples.name>
Sat, 8 Apr 2017 10:15:52 +0000 (11:15 +0100)
committerRoy Marples <roy@marples.name>
Sat, 8 Apr 2017 10:15:52 +0000 (11:15 +0100)
src/if-options.c

index ef977e1cbd4b726bc3b3deecae74f6d75c1f0985..f8fe541581e185bd8161338d978cdcc24de578cb 100644 (file)
@@ -1138,7 +1138,7 @@ parse_option(struct dhcpcd_ctx *ctx, const char *ifname, struct if_options *ifo,
                                syslog(LOG_ERR, "%s: %m", __func__);
                                return -1;
                        }
-                       nconf = reallocarray(ifo->config, dl + 2, sizeof(char *));
+                       nconf = reallocarray(ifo->config, dl+2, sizeof(char *));
                        if (nconf == NULL) {
                                syslog(LOG_ERR, "%s: %m", __func__);
                                free(p);