Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/dist/cmd/zfs Use 0, not NULL, for zero i...



details:   https://anonhg.NetBSD.org/src/rev/5389ea9d8f4e
branches:  trunk
changeset: 337306:5389ea9d8f4e
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Apr 10 22:28:27 2015 +0000

description:
Use 0, not NULL, for zero integer constant.

diffstat:

 external/cddl/osnet/dist/cmd/zfs/zfs_main.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 4967bc31dee6 -r 5389ea9d8f4e external/cddl/osnet/dist/cmd/zfs/zfs_main.c
--- a/external/cddl/osnet/dist/cmd/zfs/zfs_main.c       Fri Apr 10 20:55:38 2015 +0000
+++ b/external/cddl/osnet/dist/cmd/zfs/zfs_main.c       Fri Apr 10 22:28:27 2015 +0000
@@ -2494,7 +2494,7 @@
                usage(B_FALSE);
        }
 
-       ret = zfs_for_each(argc - 2, argv + 2, NULL,
+       ret = zfs_for_each(argc - 2, argv + 2, 0,
            ZFS_TYPE_DATASET, NULL, NULL, 0, set_callback, &cb);
 
        return (ret);



Home | Main Index | Thread Index | Old Index