#include "platform_defs.h"
#include "command.h"
#include "init.h"
-#include "path.h"
+#include "libfrog/paths.h"
#include "io.h"
#include "input.h"
#include "libfrog/fsgeom.h"
}
if (vflag) {
- c = xfrog_geometry(file->fd, &fsgeo);
+ c = -xfrog_geometry(file->fd, &fsgeo);
if (c) {
fprintf(stderr,
_("%s: can't get geometry [\"%s\"]: %s\n"),
- progname, file->name, strerror(errno));
+ progname, file->name, strerror(c));
exitcode = 1;
return 0;
}