tsmall tweaks - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit b4c842f139b47e1c999eb395f348c236af83143b
 (DIR) parent 4611e331e78282633bd338d9ed4f6b9d8f955bbd
 (HTM) Author: rsc <devnull@localhost>
       Date:   Fri, 17 Sep 2004 22:08:43 +0000
       
       small tweaks
       
       Diffstat:
         M src/lib9/fmt/sprint.c               |       3 ++-
         M src/lib9/fmt/vsnprint.c             |       1 -
       
       2 files changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/src/lib9/fmt/sprint.c b/src/lib9/fmt/sprint.c
       t@@ -12,7 +12,8 @@
         * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
         */
        #include <stdarg.h>
       -#include "fmt.h"
       +#include <fmt.h>
       +#include "fmtdef.h"
        
        int
        sprint(char *buf, char *fmt, ...)
 (DIR) diff --git a/src/lib9/fmt/vsnprint.c b/src/lib9/fmt/vsnprint.c
       t@@ -20,7 +20,6 @@ int
        vsnprint(char *buf, int len, char *fmt, va_list args)
        {
                Fmt f;
       -        int x = 0;
        
                if(len <= 0)
                        return -1;