Skip to content

Commit

Permalink
Merge pull request #58 from mattthias/travis_gcc-8_dpkg-buildflags
Browse files Browse the repository at this point in the history
 Run travis build with gcc-8 and dpkg-buildflags
  • Loading branch information
mattthias authored Feb 16, 2019
2 parents 7a94946 + fdaac2e commit aa43191
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ matrix:
include:
- os: osx
compiler: clang
- os: linux
compiler: gcc-8
env:
- LDFLAGS="-Wl,-z,relro"
- CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security"
- CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2"
- os: linux
compiler: gcc
env:
Expand Down Expand Up @@ -53,9 +59,12 @@ env:

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- musl-tools
- indent
- gcc-8
homebrew:
packages:
- gnu-indent
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/df.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ int df(int argc, char **argv)
if (strcmp(argv[1], "config") == 0) {
printf("graph_title Disk usage in percent\n"
"graph_args --upper-limit 100 -l 0\n"
"graph_vlabel %\n"
"graph_vlabel %%\n"
"graph_scale no\n" "graph_category disk\n");

while ((fs = getmntent(fp)) != NULL) {
Expand Down

0 comments on commit aa43191

Please sign in to comment.