#include <stdio.h>
#include <stdlib.h>
+#include <libubox/ulog.h>
+
#include "libfstools/libfstools.h"
#include "libfstools/volume.h"
if (!data) {
root = volume_find("rootfs");
volume_init(root);
- fprintf(stderr, "mounting /dev/root\n");
+ ULOG_NOTE("mounting /dev/root\n");
mount("/dev/root", "/", NULL, MS_NOATIME | MS_REMOUNT, 0);
}
*/
extroot_prefix = "";
if (!mount_extroot()) {
- fprintf(stderr, "fs-state: switched to extroot\n");
+ ULOG_NOTE("switched to extroot\n");
return 0;
}