hal: Branch 'master'
David Zeuthen
david at kemper.freedesktop.org
Mon Jul 9 12:38:43 PDT 2007
tools/linux/hal-ipw-killswitch-linux.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
New commits:
diff-tree 6e6be2581895b3751e069f3fec69eb3bfa74cba4 (from 988aed5de7dc83f0e715f67ff6840d2e79be6b57)
Author: David Zeuthen <davidz at redhat.com>
Date: Mon Jul 9 15:38:41 2007 -0400
fix build
diff --git a/tools/linux/hal-ipw-killswitch-linux.c b/tools/linux/hal-ipw-killswitch-linux.c
index 2cb4855..811f767 100644
--- a/tools/linux/hal-ipw-killswitch-linux.c
+++ b/tools/linux/hal-ipw-killswitch-linux.c
@@ -21,10 +21,12 @@
*
**************************************************************************/
-#include <libhal.h>
#include <stdio.h>
#include <string.h>
#include <glib.h>
+#include <stdlib.h>
+
+#include <libhal.h>
static LibHalContext *hal_ctx;
@@ -119,7 +121,7 @@ int main(int argc,char** argv) {
ret = 0;
}
- libhal_ctx_free (ctx);
+ libhal_ctx_free (hal_ctx);
if (dbus_error_is_set (&error)) {
fprintf (stderr, "error: %s: %s\n", error.name, error.message);
More information about the hal-commit
mailing list