summary refs log tree commit diff
diff options
context:
space:
mode:
-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) {