diff options
Diffstat (limited to 'udev_lib.c')
-rw-r--r-- | udev_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_lib.c b/udev_lib.c index f388d23f3e..86a526f7e8 100644 --- a/udev_lib.c +++ b/udev_lib.c @@ -62,12 +62,12 @@ void udev_set_values(struct udevice *udev, const char* devpath, int kernel_release_satisfactory(int version, int patchlevel, int sublevel) { - static struct utsname uts; static int kversion = 0; static int kpatchlevel; static int ksublevel; if (kversion == 0) { + struct utsname uts; if (uname(&uts) != 0) return -1; |