diff options
Diffstat (limited to 'mount/sundries.c')
-rw-r--r-- | mount/sundries.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mount/sundries.c b/mount/sundries.c index 4506924aa..d7ace1b2d 100644 --- a/mount/sundries.c +++ b/mount/sundries.c @@ -29,12 +29,12 @@ xmalloc (size_t size) { void *t; if (size == 0) - return NULL; + return NULL; t = malloc (size); if (t == NULL) - die (EX_SYSERR, "not enough memory"); - + die (EX_SYSERR, "not enough memory"); + return t; } @@ -43,12 +43,12 @@ xstrdup (const char *s) { char *t; if (s == NULL) - return NULL; - + return NULL; + t = strdup (s); if (t == NULL) - die (EX_SYSERR, "not enough memory"); + die (EX_SYSERR, "not enough memory"); return t; } |