udev-event.c: do not assign s to address to pointer

Solve a bug that could result in really nasty behavior.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
This commit is contained in:
Marcus Folkesson 2017-12-02 18:21:03 +01:00 committed by Anthony G. Basile
parent e521ce6ba5
commit 4f75438278

View File

@ -201,7 +201,7 @@ subst:
_s = s;
_l = l;
/* temporarily use sbuf */
s = &sbuf;
s = sbuf;
l = UTIL_PATH_SIZE;
}