aboutsummaryrefslogtreecommitdiff
path: root/core.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-09-02 01:31:17 -0400
committerRob Austein <sra@hactrn.net>2016-09-02 01:31:17 -0400
commit5af178dee33b22cf189c085e41ca96423f809034 (patch)
tree6748c02763287ad1711f0e369256c063b649549f /core.c
parent65e8ef470b34a9c7af92f377da297095a0251890 (diff)
Code to convert between text and internal forms of UUIDs.
Includes a few cosmetic fixes to address gcc format string warnings and git trailing whitespace warnings.
Diffstat (limited to 'core.c')
-rw-r--r--core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core.c b/core.c
index 378f085..fed4b66 100644
--- a/core.c
+++ b/core.c
@@ -208,7 +208,7 @@ hal_error_t hal_core_alloc(const char *name, hal_core_t **pcore)
{
hal_core_t *core;
hal_error_t err = HAL_ERROR_CORE_NOT_FOUND;
-
+
if (name == NULL && (pcore == NULL || *pcore == NULL))
return HAL_ERROR_BAD_ARGUMENTS;