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

index 3b9d2a71c00963267ab783d147d530afbe3f74d4..8d70dc9ac01ab092f454abf5ea3b931b6e6c7ea9 100644 (file)
@@ -98,7 +98,7 @@ tmpfs_match(am_opts *fo)
   /*
    * Determine magic cookie to put in mtab
    */
-  return strdup(fo->opt_dev);
+  return xstrdup(fo->opt_dev);
 }