diff options
-rw-r--r-- | plugins/udev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/udev.c b/plugins/udev.c index d0673f7c..79027d74 100644 --- a/plugins/udev.c +++ b/plugins/udev.c @@ -88,7 +88,7 @@ static const char *get_serial(struct udev_device *udev_device) unsigned int i, len = strlen(serial); for (i = 0; i < len; i++) { - if (!isalnum(serial[i])) + if (!g_ascii_isalnum(serial[i])) return NULL; } } |