projects
/
project
/
fstools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libfstools: convert to ulog() api
[project/fstools.git]
/
libfstools
/
find.c
diff --git
a/libfstools/find.c
b/libfstools/find.c
index
4c69d73
..
0440052
100644
(file)
--- a/
libfstools/find.c
+++ b/
libfstools/find.c
@@
-104,7
+104,7
@@
find_mount_point(char *block, int mtd_only)
strncmp(t, "jffs2", 5) &&
strncmp(t, "ubifs", 5)) {
fclose(fp);
strncmp(t, "jffs2", 5) &&
strncmp(t, "ubifs", 5)) {
fclose(fp);
-
fprintf(stderr,
"block is mounted with wrong fs\n");
+
ULOG_ERR(
"block is mounted with wrong fs\n");
return NULL;
}
point = p;
return NULL;
}
point = p;
@@
-126,7
+126,7
@@
find_filesystem(char *fs)
int ret = -1;
if (!fp) {
int ret = -1;
if (!fp) {
-
fprintf(stderr,
"opening /proc/filesystems failed: %s\n", strerror(errno));
+
ULOG_ERR(
"opening /proc/filesystems failed: %s\n", strerror(errno));
goto out;
}
goto out;
}