diff options
Diffstat (limited to 'networking/udhcp')
-rw-r--r-- | networking/udhcp/files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/files.c b/networking/udhcp/files.c index 5e399e1..9ade4ae 100644 --- a/networking/udhcp/files.c +++ b/networking/udhcp/files.c @@ -56,7 +56,7 @@ static int read_str(const char *line, void *arg) char **dest = arg; free(*dest); - *dest = strdup(line); + *dest = xstrdup(line); return 1; } |