Home
last modified time | relevance | path

Searched refs:perror_msg (Results 1 – 25 of 83) sorted by relevance

1234

/external/toybox/toys/other/
Dswitch_root.c82 perror_msg("bad console '%s'", TT.c); in switch_root_main()
91 perror_msg("mount"); in switch_root_main()
97 perror_msg("chroot"); in switch_root_main()
103 perror_msg("chdir"); in switch_root_main()
113 perror_msg("Failed to exec '%s'", *cmdline); in switch_root_main()
Dlsattr.c109 if (ext2_getflag(fd, &sb, &flag) < 0) perror_msg("reading flags '%s'", path); in print_file_attr()
138 LABEL1: perror_msg("reading '%s'", path); in print_file_attr()
175 if (lstat(*toys.optargs, &sb)) perror_msg("stat '%s'", *toys.optargs); in lsattr_main()
276 perror_msg("read flags of '%s'", fpath); in update_attr()
283 perror_msg("setting flags '%s'", fpath); in update_attr()
289 perror_msg("setting flags '%s'", fpath); in update_attr()
293 perror_msg("while setting version on '%s'", fpath); in update_attr()
Dmakedevs.c94 perror_msg("can't create directory '%s'", ptr);
99 perror_msg("line %d: file '%s' does not exist", line_no, ptr);
103 perror_msg("line %d: can't create node '%s'", line_no, ptr);
108 perror_msg("line %d: can't chown/chmod '%s'", line_no, ptr);
Dpartprobe.c24 if (ioctl(fd, BLKRRPART, 0)) perror_msg("ioctl failed"); in do_partprobe()
Dreadahead.c31 if (rc) perror_msg("readahead: %s", name); in do_readahead()
Dfsync.c26 perror_msg("can't sync '%s'", name); in do_fsync()
/external/strace/
Ducopy.c130 perror_msg("umoven: short read (%u < %u) @0x%" PRI_klx, in umoven_peekdata()
136 perror_msg("umoven: PTRACE_PEEKDATA pid:%d @0x%" PRI_klx, in umoven_peekdata()
190 perror_msg("process_vm_readv: pid:%d @0x%" PRI_klx, in umoven()
226 perror_msg("umovestr: short read (%d < %d) @0x%" PRI_klx, in umovestr_peekdata()
232 perror_msg("umovestr: PTRACE_PEEKDATA pid:%d @0x%" PRI_klx, in umovestr_peekdata()
313 perror_msg("umovestr: short read (%d < %d) @0x%" PRI_klx, in umovestr()
321 perror_msg("process_vm_readv: pid:%d @0x%" PRI_klx, in umovestr()
Derror_prints.h45 void perror_msg(const char *fmt, ...) ATTRIBUTE_FORMAT((printf, 1, 2));
62 perror_msg(__VA_ARGS__); \
69 perror_msg("%s: " fmt_, __func__, ##__VA_ARGS__)
Dupoke.c37 perror_msg("upoke: PTRACE_POKEUSER pid:%d @%#lx)", in upoke()
Dupeek.c47 perror_msg("upeek: PTRACE_PEEKUSER pid:%d @0x%lx)", in upeek()
/external/toybox/toys/pending/
Dgzip.c88 if (len>0 || err == Z_ERRNO) perror_msg(dd ? "write" : "read");
92 if (gzclose(gz) != Z_OK) perror_msg("gzclose"), err++;
129 if (fstat(in_fd, &sb)) return perror_msg("%s", arg); in do_gzip()
153 if (!(toys.optflags&FLAG_k)) if (unlink(arg)) perror_msg("unlink %s", arg); in do_gzip()
Dipcs.c56 perror_msg("msgctl"); in show_msg_id()
84 perror_msg("semctl"); in show_sem_id()
124 perror_msg("shmctl"); in show_shm_id()
157 perror_msg("kernel not configured for shared memory"); in shm_array()
260 perror_msg("kernel is not configured for semaphores"); in sem_array()
346 perror_msg("kernel not configured for message queue"); in msg_array()
Dgetfattr.c47 if (keys_len == -1) perror_msg("listxattr failed");
75 if (value_len == -1) perror_msg("getxattr failed");
Dipcrm.c57 perror_msg("key (%s)", name);
66 if (ret < 0) perror_msg("%s (%s)", ((key)? "key": "id"), name);
Dtar.c220 perror_msg("readlink"); in add_file()
258 perror_msg("can't open '%s'", name); in add_file()
391 perror_msg("can't remove: %s",file_hdr->name); in extract_to_disk()
398 perror_msg("can't link '%s' -> '%s'",file_hdr->name, file_hdr->link_target); in extract_to_disk()
407 if (dst_fd == -1) perror_msg("%s: can't open", file_hdr->name); in extract_to_disk()
411 perror_msg("%s: can't create", file_hdr->name); in extract_to_disk()
415 perror_msg("can't link '%s' -> '%s'",file_hdr->name, file_hdr->link_target); in extract_to_disk()
421 perror_msg("can't create '%s'", file_hdr->name); in extract_to_disk()
447 perror_msg("chown %d:%d '%s'", u, g, file_hdr->name);; in extract_to_disk()
Duserdel.c46 perror_msg("Couldn't lock file %s",filename); in update_groupfiles()
86 perror_msg("File Writing/Saving failed: "); in update_groupfiles()
Dsyslogd.c303 perror_msg("can't open %s", tf->filename); in write_rotate()
366 if (wlen < 0) perror_msg("write failed file : %s ", tf->filename + isNetwork); in logmsg()
444 perror_msg("OPEN SOCKS : failed"); in syslogd_main()
449 perror_msg("BIND SOCKS : failed sock : %s", tsd->sdu.sun_path); in syslogd_main()
493 if (errno != EINTR) perror_msg("Error in select "); in syslogd_main()
Dtftp.c147 perror_msg("server read timed out"); in read_server()
150 perror_msg("server read failed"); in read_server()
172 perror_msg("server write failed"); in write_server()
204 perror_msg("lseek failed"); in mkpkt_data()
Dwget.c95 perror_msg("socket error"); in conn_svr()
100 else perror_msg("connect error"); in conn_svr()
/external/toybox/toys/posix/
Dln.c63 if (unlink(new)) perror_msg("unlink '%s'", new); in ln_main()
74 if (rc && unlink(new)) perror_msg("unlink '%s'", new); in ln_main()
81 perror_msg("cannot create %s link from '%s' to '%s'", in ln_main()
Dcpio.c136 perror_msg("mkpath '%s'", name); in cpio_main()
158 perror_msg("create %s", name); in cpio_main()
241 if (st.st_size >> 32) perror_msg("skipping >2G file '%s'", name); in cpio_main()
261 else perror_msg("readlink '%s'", name); in cpio_main()
267 if (!error++) perror_msg("bad read from file '%s'", name); in cpio_main()
Dcp.c295 perror_msg("%s setxattr(%s=%s)", catch, name, value); in cp_node()
326 perror_msg("chown '%s'", pp = dirtree_path(try, 0)); in cp_node()
360 perror_msg(err, catch); in cp_node()
450 perror_msg("bad '%s'", src); in cp_main()
502 if (lchown(*ss, TT.uid, TT.gid)) perror_msg("chown '%s'", *ss); in install_main()
/external/toybox/lib/
Dpassword.c122 perror_msg("Couldn't open file %s",filename); in update_password()
138 if (ret < 0) perror_msg("Couldn't lock file %s",filename); in update_password()
191 perror_msg("File Writing/Saving failed: "); in update_password()
/external/strace/linux/arm/
Dset_scno.c15 perror_msg("arch_set_scno: PTRACE_SET_SYSCALL pid:%d scno:%#x", in arch_set_scno()
/external/toybox/toys/android/
Dsetenforce.c31 if (ret == -1) perror_msg("Couldn't set enforcing status to '%s'", new); in setenforce_main()

1234