summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-03-15 22:26:51 -0400
committerJune McEnroe <programble@gmail.com>2017-03-15 22:26:51 -0400
commit69457207509f5c630eb256030428213ef5c25069 (patch)
treebe3047cceb3a42ed8afd6fb07b182db9fae49852
parentFix bri compilation (diff)
downloadsrc-69457207509f5c630eb256030428213ef5c25069.tar.gz
src-69457207509f5c630eb256030428213ef5c25069.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) {