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

index 0c9dda59af81643bd87191374f0a79609aabee40..7542a9413b3786856383d2f36d3e0e8722b1e0c6 100644 (file)
@@ -136,7 +136,7 @@ udf_match(am_opts *fo)
        /*
         * Determine magic cookie to put in mtab
         */
-       return strdup(fo->opt_dev);
+       return xstrdup(fo->opt_dev);
 }
 
 static int