Browse Source

Clean root folder object file, fix small printf format typo

Julien 'Lta' BALLET 11 years ago
parent
commit
0b1b319a0b
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Makefile
  2. 1 1
      dsm.c

+ 1 - 1
Makefile

@@ -53,7 +53,7 @@ LIB_OBJS			= $(LIB_SRC:.c=.o)
 all: $(LIB) $(LIB_STATIC) $(UTILS)
 
 clean:
-	rm -f $(UTILS) $(LIB) $(LIB_STATIC)
+	rm -f $(UTILS) $(LIB) $(LIB_STATIC) *.o
 	rm -rf $(LIB_OBJS)
 
 re: clean all

+ 1 - 1
dsm.c

@@ -161,7 +161,7 @@ int main(int ac, char **av)
   files = smb_stat(session, test, av[4]);
 
   if (files)
-    printf("File %s is %d bytes long", av[4], files->size);
+    printf("File %s is %lu bytes long", av[4], files->size);
 
 
   smb_session_destroy(session);