diff options
author | David Zeuthen <davidz@redhat.com> | 2008-03-03 16:04:58 -0500 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2008-03-03 16:04:58 -0500 |
commit | ad5b75e9c747cc163bc6bd5c2b6a64b8d77f5475 (patch) | |
tree | 8e194426ce8d5327356c7cb547c54c44fff179b2 /libhal-storage | |
parent | 28048726d5401e913b8a2321838147a402bd34a6 (diff) | |
parent | a91b0de1fa7546d28247f8609ea8df14e8f9c53a (diff) |
Merge branch 'master' of ssh://david@git.freedesktop.org/git/hal
Diffstat (limited to 'libhal-storage')
-rw-r--r-- | libhal-storage/libhal-storage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhal-storage/libhal-storage.c b/libhal-storage/libhal-storage.c index 70aeb38f..4868ff9f 100644 --- a/libhal-storage/libhal-storage.c +++ b/libhal-storage/libhal-storage.c @@ -68,7 +68,7 @@ struct LibHalStoragePolicy_s { }; LibHalStoragePolicy * -libhal_storage_policy_new () +libhal_storage_policy_new (void) { LibHalStoragePolicy *p; @@ -1992,7 +1992,7 @@ mopts_collect (LibHalContext *hal_ctx, const char *namespace, int namespace_len, LibHalPropertySetIterator it; DBusError error; - if(hal_ctx == 0) { + if(hal_ctx == NULL) { fprintf (stderr,"%s %d : LibHalContext *ctx is NULL\n",__FILE__, __LINE__); return; } |