/* See LICENSE file for copyright and license details. */
-#include <err.h>
#include <stdio.h>
#include <sys/statvfs.h>
struct statvfs fs;
if (statvfs(mnt, &fs) < 0) {
- warn("Failed to get filesystem info");
+ fprintf(stderr, "Failed to get filesystem info");
return NULL;
}
struct statvfs fs;
if (statvfs(mnt, &fs) < 0) {
- warn("Failed to get filesystem info");
+ fprintf(stderr, "Failed to get filesystem info");
return NULL;
}
struct statvfs fs;
if (statvfs(mnt, &fs) < 0) {
- warn("Failed to get filesystem info");
+ fprintf(stderr, "Failed to get filesystem info");
return NULL;
}
struct statvfs fs;
if (statvfs(mnt, &fs) < 0) {
- warn("Failed to get filesystem info");
+ fprintf(stderr, "Failed to get filesystem info");
return NULL;
}