From cbad7caa68f414356695bb0c1b54b45ca9da8042 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Thu, 13 Sep 2001 21:50:38 +0000 Subject: [PATCH] is_identifier characters --- driver/device-mapper/dm-fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/device-mapper/dm-fs.c b/driver/device-mapper/dm-fs.c index 1909f2707..622c21018 100644 --- a/driver/device-mapper/dm-fs.c +++ b/driver/device-mapper/dm-fs.c @@ -49,7 +49,7 @@ struct line_c { static int is_identifier(const char *str, int len) { while(len--) { - if (!isalnum(*str) || *str != '_') + if (!isalnum(*str) && *str != '_') return 0; str++; }