fix segfault for diskiograph
authorPhil Sutter <phil@nwl.cc>
Thu, 18 Dec 2008 14:03:02 +0000 (15:03 +0100)
committerPhil Sutter <phil@nwl.cc>
Thu, 18 Dec 2008 14:18:53 +0000 (15:18 +0100)
commit1a35a68bcaac6c278ffdd17b2a9b4fd2c42d3a28
treee26ba3e4b5809ba1ea36da6b80a3cead339a5121
parent757983ab56b796ebc8d6684adc0b03db1b39e58a
fix segfault for diskiograph

The crux is to split args between those for scan_graph() on one hand and
prepare_diskio_stat() on the other hand. To make the code working with
minimal changes, move the yet optional devicename to the end.

General note on graphs:
- for all graphs there exist the optional arguments for scan_graph()
  which come first and are optional (intended duplicate)
- all other args are object specific, and may be optional as well
ChangeLog
README
doc/conky.1
doc/variables.xml
src/conky.c