[hackers] [wmii] Remove spurious %r from fatal() call in wmiir. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Sat, 30 Aug 2008 21:49:27 +0000 (UTC)

changeset: 2343:04f222972c9c
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Jun 02 22:31:59 2008 -0400
files: cmd/wmiir.c
description:
Remove spurious %r from fatal() call in wmiir.

diff -r 748ffb2ab9bf -r 04f222972c9c cmd/wmiir.c
--- a/cmd/wmiir.c Mon Jun 02 22:31:04 2008 -0400
+++ b/cmd/wmiir.c Mon Jun 02 22:31:59 2008 -0400
@@ -40,7 +40,7 @@
                 if(len <= 0)
                         break;
                 if(ixp_write(fid, buf, len) != len)
- fatal("cannot write file '%s': %r\n", name);
+ fatal("cannot write file %q\n", name);
         }
         free(buf);
 }
@@ -375,6 +375,7 @@
         exectab *tab;
         int ret;
 
+ quotefmtinstall();
         fmtinstall('r', errfmt);
 
         address = getenv("WMII_ADDRESS");
Received on Sat Aug 30 2008 - 21:49:27 UTC

This archive was generated by hypermail 2.2.0 : Sat Aug 30 2008 - 22:00:09 UTC