// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: cdromutl.cc,v 1.4 1999/04/20 05:02:09 jgg Exp $
+// $Id: cdromutl.cc,v 1.5 1999/04/20 05:11:17 jgg Exp $
/* ######################################################################
CDROM Utilities - Some functions to manipulate CDROM mounts.
return _error->Errno("statfs","Failed to stat the cdrom");
// We use a kilobyte block size to advoid overflow
- sprintf(S,"%u %u",Buf.f_blocks*(Buf.f_bsize/1024),
- Buf.f_bfree*(Buf.f_bsize/1024));
+ sprintf(S,"%lu %lu",(long)(Buf.f_blocks*(Buf.f_bsize/1024)),
+ (long)(Buf.f_bfree*(Buf.f_bsize/1024)));
Hash.Add(S);
Res = Hash.Result().Value();
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-get.cc,v 1.55 1999/04/20 05:02:09 jgg Exp $
+// $Id: apt-get.cc,v 1.56 1999/04/20 05:14:55 jgg Exp $
/* ######################################################################
apt-get - Cover for dpkg
#include <signal.h>
#include <unistd.h>
#include <stdio.h>
+#include <errno.h>
#include <sys/wait.h>
/*}}}*/