Lines Matching refs:stderr

75         fprintf (stderr, "Error opendir'ing %s: %s\n",  in wipe()
126 fprintf(stderr, "warning -- stat() error on '%s': %s\n", in wipe()
144 fprintf(stderr, "warning -- rmdir() error on '%s': %s\n", in wipe()
162 fprintf(stderr, "warning -- unlink() error on '%s': %s\n", in wipe()
177 fprintf(stderr, "unable to write int32 (%d bytes): %s\n", res, strerror(errno)); in write_int32()
188 fprintf(stderr, "unable to write int64 (%d bytes): %s\n", res, strerror(errno)); in write_int64()
207 fprintf(stderr, "unable to read source (%d of %ld bytes) file '%s': %s\n", in copy_file()
210 fprintf(stderr, "unable to read buffer (%d of %ld bytes): %s\n", in copy_file()
218 fprintf(stderr, "unable to write file (%d of %d bytes) '%s': '%s'\n", in copy_file()
221 fprintf(stderr, "unable to write buffer (%d of %d bytes): '%s'\n", in copy_file()
241 fprintf(stderr, "unable to write: %s\n", strerror(errno)); in write_header()
267 fprintf (stderr, "error opendir'ing '%s': %s\n", in backup_dir()
309 fprintf(stderr, "stat() error on '%s': %s\n", in backup_dir()
347 fprintf(stderr, "unable to open source file '%s': %s\n", in backup_dir()
378 fprintf(stderr, "unable to open destination '%s': %s\n", in backup_data()
397 fprintf(stderr, "error flushing destination '%s': %s\n", in backup_data()
403 fprintf(stderr, "error syncing destination '%s': %s\n", in backup_data()
419 fprintf(stderr, "unable to read: %s\n", strerror(errno)); in read_int32()
430 fprintf(stderr, "unable to read: %s\n", strerror(errno)); in read_int64()
445 fprintf(stderr, "bad token %d in restore file\n", *type); in read_header()
451 fprintf(stderr, "bad path length %d in restore file\n", pathLen); in read_header()
456 fprintf(stderr, "truncated path in restore file\n"); in read_header()
465 fprintf(stderr, "bad uid in restore file at '%s'\n", readPath); in read_header()
470 fprintf(stderr, "bad gid in restore file at '%s'\n", readPath); in read_header()
475 fprintf(stderr, "bad mode in restore file at '%s'\n", readPath); in read_header()
480 fprintf(stderr, "bad atime in restore file at '%s'\n", readPath); in read_header()
486 fprintf(stderr, "bad mtime in restore file at '%s'\n", readPath); in read_header()
492 fprintf(stderr, "bad ctime in restore file at '%s'\n", readPath); in read_header()
508 fprintf(stderr, "Unable to open source '%s': %s\n", in restore_data()
515 fprintf(stderr, "Restore file has bad version: 0x%x\n", inputFileVersion); in restore_data()
554 fprintf(stderr, "unable to create directory '%s': %s\n", in restore_data()
565 fprintf(stderr, "bad file size %ld in restore file\n", size); in restore_data()
574 fprintf(stderr, "unable to open destination file '%s': %s\n", in restore_data()
588 fprintf(stderr, "unknown node type %d\n", type); in restore_data()
595 fprintf(stderr, "unable to chmod destination %s '%s' to 0x%x: %s\n", in restore_data()
602 fprintf(stderr, "unable to chown destination %s '%s' to uid %d / gid %d: %s\n", in restore_data()
612 fprintf(stderr, "unable to utime destination %s '%s': %s\n", in restore_data()
632 fprintf(stderr,"Usage: %s COMMAND [options] [backup-file-path]\n", cmd); in show_help()
634 fprintf(stderr, "commands are:\n" in show_help()
638 fprintf(stderr, "options include:\n" in show_help()
641 fprintf(stderr, "\n backup-file-path Defaults to /sdcard/backup.dat .\n" in show_help()
647 fprintf(stderr, "\nThe %s command allows you to perform low-level\n" in show_help()
663 fprintf(stderr, "error -- %s must run as root\n", argv[0]); in main()
668 fprintf(stderr, "No command specified.\n"); in main()
679 fprintf(stderr, "Unknown command: %s\n", argv[1]); in main()
700 if (restore) fprintf(stderr, "Warning: -a option ignored on restore\n"); in main()
708 fprintf(stderr,"Unrecognized Option\n"); in main()
721 fprintf(stderr, "Too many arguments\n"); in main()