strdup -> xstrdup
authorChristos Zoulas <christos@zoulas.com>
Thu, 6 Oct 2011 14:34:39 +0000 (10:34 -0400)
committerChristos Zoulas <christos@zoulas.com>
Thu, 6 Oct 2011 14:34:39 +0000 (10:34 -0400)
amd/ops_efs.c

index 1af10a27f1957e5478970574805dc7685fd8875d..164090b10a362c2575d5e2f49110221970941c71 100644 (file)
@@ -98,7 +98,7 @@ efs_match(am_opts *fo)
   /*
    * Determine magic cookie to put in mtab
    */
-  return strdup(fo->opt_dev);
+  return xstrdup(fo->opt_dev);
 }