Change strdup calls to xstrdup (patch from Steve Merrifield).
diff --git a/util-linux/mount.c b/util-linux/mount.c
index bfa9a30..e26d4db 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -463,9 +463,9 @@
strcpy(device, m->mnt_fsname);
strcpy(directory, m->mnt_dir);
- filesystemType = strdup(m->mnt_type);
+ filesystemType = xstrdup(m->mnt_type);
singlemount:
- string_flags = strdup(string_flags);
+ string_flags = xstrdup(string_flags);
rc = EXIT_SUCCESS;
#ifdef CONFIG_NFSMOUNT
if (strchr(device, ':') != NULL)