xfsprogs/xfsprogs-mkfs.xfs-N.patch

18 lines
562 B
Diff

Index: mkfs/xfs_mkfs.c
===================================================================
RCS file: /cvs/xfs-cmds/xfsprogs/mkfs/xfs_mkfs.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -p -r1.91 -r1.92
--- mkfs/xfs_mkfs.c 5 Jun 2008 04:28:00 -0000 1.91
+++ mkfs/xfs_mkfs.c 27 Aug 2008 04:13:09 -0000 1.92
@@ -819,7 +819,7 @@ main(
xi.disfile = atoi(value);
if (xi.disfile < 0 || xi.disfile > 1)
illegal(value, "d file");
- if (xi.disfile)
+ if (xi.disfile && !Nflag)
xi.dcreat = 1;
break;
case D_NAME: