summaryrefslogtreecommitdiff
path: root/mount/sundries.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2006-12-07 00:25:37 +0100
committerKarel Zak <kzak@redhat.com>2006-12-07 00:25:37 +0100
commit5c36a0eb7cdb0360f9afd5d747c321f423b35984 (patch)
tree147599a77eaff2b5fbc0d389e89d2b51602326c0 /mount/sundries.c
parent2b6fc908bc368b540845a313c3b8a867c5ad9a42 (diff)
downloadutil-linux-old-5c36a0eb7cdb0360f9afd5d747c321f423b35984.tar.gz
Imported from util-linux-2.9i tarball.
Diffstat (limited to 'mount/sundries.c')
-rw-r--r--mount/sundries.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mount/sundries.c b/mount/sundries.c
index 4506924a..d7ace1b2 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;
}