summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-03-15 22:26:51 -0400
committerJune McEnroe <june@causal.agency>2017-03-15 22:26:51 -0400
commit359377e7fe5e6453131e738c5942c68f90ebbff1 (patch)
tree35f6f7cc9421bef48178ca4187c282bfc32b968e
parentFix bri compilation (diff)
downloadsrc-359377e7fe5e6453131e738c5942c68f90ebbff1.tar.gz
src-359377e7fe5e6453131e738c5942c68f90ebbff1.zip
Fix non-string-literal-format-string in bri
Diffstat (limited to '')
-rwxr-xr-x.bin/bri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bin/bri.c b/.bin/bri.c
index 25c18aba..3995ee2b 100755
--- a/.bin/bri.c
+++ b/.bin/bri.c
@@ -31,7 +31,7 @@ int main(int argc, char *argv[]) {
         if (entry->d_name[0] == '.') continue;
 
         error = chdir(entry->d_name);
-        if (error) err(EX_IOERR, entry->d_name);
+        if (error) err(EX_IOERR, "%s", entry->d_name);
         break;
     }
     if (!entry) {