]> granicus.if.org Git - zfs/commitdiff
Merge commit 'refs/top-bases/gcc-fortify-source' into gcc-fortify-source
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 28 May 2010 21:37:39 +0000 (14:37 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 28 May 2010 21:37:39 +0000 (14:37 -0700)
Conflicts:
cmd/zdb/zdb.c

1  2 
cmd/zdb/zdb.c
cmd/ztest/ztest.c
lib/libzpool/kernel.c

diff --cc cmd/zdb/zdb.c
index a14c681a6e3280ebf064120a4789df237e7f4ae0,ff73072f8a64f5622c23cb5b2b3c625af3b9e9b4..3cc2eb86191ebb6a4230ea45a4476e7086d37084
@@@ -1939,7 -2532,7 +2532,7 @@@ zdb_dump_block_raw(void *buf, uint64_t 
  {
        if (flags & ZDB_FLAG_BSWAP)
                byteswap_uint64_array(buf, size);
-       VERIFY(write(fileno(stderr), buf, size) == size);
 -      (void) write(1, buf, size);
++      VERIFY(write(fileno(stdout), buf, size) == size);
  }
  
  static void
Simple merge
Simple merge