mirror_zfs/cmd
Richard Yao 3db3ff4a78 Use MAXPATHLEN instead of sizeof in snprintf
This silences a GCC 4.8.0 warning by fixing a programming error
caught by static analysis:

../../cmd/ztest/ztest.c: In function ‘ztest_vdev_aux_add_remove’:
../../cmd/ztest/ztest.c:2584:33: error: argument to ‘sizeof’
  in ‘snprintf’ call is the same expression as the destination;
  did you mean to provide an explicit length?
  [-Werror=sizeof-pointer-memaccess]
  (void) snprintf(path, sizeof (path), ztest_aux_template,
                                 ^

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1480
2013-07-02 10:39:24 -07:00
..
arcstat Modified arcstat.py to run on linux 2013-06-18 15:43:15 -07:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Allow fetching the pool from the device at mount 2013-06-26 15:20:09 -07:00
vdev_id vdev_id: improve keyword parsing flexibility 2013-01-25 13:44:32 -08:00
zdb Override default SPA config location via environment 2013-07-01 13:25:44 -07:00
zfs Trivial spelling fix 2013-04-19 15:43:16 -07:00
zhack Illumos #2619 and #2747 2013-01-08 10:35:35 -08:00
zinject Fix zinject list handlers 2013-05-01 17:05:58 -07:00
zpios Refresh links to web site 2013-03-06 15:46:41 -08:00
zpool Illumos #3306, #3321 2013-05-03 16:53:52 -07:00
zstreamdump Add zstreamdump .gitignore 2012-09-06 14:23:11 -07:00
ztest Use MAXPATHLEN instead of sizeof in snprintf 2013-07-02 10:39:24 -07:00
zvol_id Remove autotools products 2012-08-27 11:47:44 -07:00
Makefile.am Modified arcstat.py to run on linux 2013-06-18 15:43:15 -07:00