git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix gcc missing parenthesis warnings
[zfs.git]
/
cmd
/
zfs
/
zfs_main.c
diff --git
a/cmd/zfs/zfs_main.c
b/cmd/zfs/zfs_main.c
index
5be1263
..
22426eb
100644
(file)
--- a/
cmd/zfs/zfs_main.c
+++ b/
cmd/zfs/zfs_main.c
@@
-764,7
+764,7
@@
zfs_do_create(int argc, char **argv)
zfs_prop_t resv_prop;
char *strval;
zfs_prop_t resv_prop;
char *strval;
- if (
p = strchr(argv[0], '/'
))
+ if (
(p = strchr(argv[0], '/')
))
*p = '\0';
zpool_handle = zpool_open(g_zfs, argv[0]);
if (p != NULL)
*p = '\0';
zpool_handle = zpool_open(g_zfs, argv[0]);
if (p != NULL)
@@
-4035,7
+4035,7
@@
zfs_do_diff(int argc, char **argv)
if (copy == NULL)
usage(B_FALSE);
if (copy == NULL)
usage(B_FALSE);
- if (
atp = strchr(copy, '@'
))
+ if (
(atp = strchr(copy, '@')
))
*atp = '\0';
if ((zhp = zfs_open(g_zfs, copy, ZFS_TYPE_FILESYSTEM)) == NULL)
*atp = '\0';
if ((zhp = zfs_open(g_zfs, copy, ZFS_TYPE_FILESYSTEM)) == NULL)