summaryrefslogtreecommitdiff
path: root/udevinfo.c
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-02-11 22:10:26 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:32:26 -0700
commit51a8bb2f361d86013e7579570faba446eed9c66d (patch)
treee2ac4dc12e0608edec3731f1764873958b835add /udevinfo.c
parent4d803d8d04a8493f8efc039c7789c65be33048a0 (diff)
[PATCH] fix log option code so that it actually works for all udev programs.
Also introduce boolean type for config file to use.
Diffstat (limited to 'udevinfo.c')
-rw-r--r--udevinfo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/udevinfo.c b/udevinfo.c
index 71a9a6d93e..103ebce08c 100644
--- a/udevinfo.c
+++ b/udevinfo.c
@@ -40,6 +40,11 @@ char **main_argv;
int main_argc;
unsigned char logname[42];
+int log_ok(void)
+{
+ return 1;
+}
+
static int print_all_attributes(const char *path)
{
struct dlist *attributes;