mirror of
https://github.com/troglobit/finit.git
synced 2026-10-31 13:00:32 +00:00
Fix invalid pointer use in log message
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -493,7 +493,7 @@ static void source_env(svc_t *svc)
|
|||||||
while (*end && !isspace(*end))
|
while (*end && !isspace(*end))
|
||||||
end++;
|
end++;
|
||||||
if (*end != 0) {
|
if (*end != 0) {
|
||||||
warnx("'%s=%s': not a valid identifier", key, val);
|
warnx("'%s=%s': not a valid identifier", key, value);
|
||||||
continue; /* invalid key */
|
continue; /* invalid key */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user