Lines Matching defs:error_errno
34 #define error_errno(s, a...) error(s ": %s", ##a, strerror(errno))
76 error_errno("failed to open /proc/sys/vm/drop_caches");
80 error_errno("failed to write to /proc/sys/vm/drop_caches");
90 error_errno("failed to open %s", filename);
94 error_errno("failed to read %s", filename);
137 error_errno("failed to seek output file to %lx", to_offset);
146 error_errno("failed to write to output file");
164 error_errno("failed to seek output file to %lx", to_offset);
168 error_errno("failed to seek input file to %lx", from_offset);
180 error_errno("failed to read from output file");
184 error_errno("eof while reading output file");
194 error_errno("failed to read from input file");
198 error_errno("eof while reading input file");
221 error_errno("failed to seek output file to %lx", to_offset);
225 error_errno("failed to seek input file to %lx", from_offset);
230 error_errno("failed to read from input file");
232 error_errno("eof while reading input file");
245 error_errno("failed to write to output file");
260 error_errno("failed to create /dev");
264 error_errno("failed to create /proc");
268 error_errno("failed to create /sys");
272 error_errno("failed to mount proc");
276 error_errno("failed to mount sys");
280 error_errno("failed to create /dev/block");
284 error_errno("failed to create mmcblk0");
298 error_errno("failed to open bootloader.img");
302 error_errno("failed to open mmcblk0");