summaryrefslogtreecommitdiff
path: root/utils/shd.c
AgeCommit message (Collapse)Author
2015-12-29fix compiler warnings in hurd/utilsFlavio Cruz
utils: Fix compiler warnings. * utils/rpcscan.c (setup_extract_target): Remove name variable. * utils/rpcscan.c (setup_extract_target): Fix bad initializer. * utils/rpctrace.c (new_send_wrapper, wrap_all_threads, wrap_new_thread, wrap_new_task, traced_spawn): Fix format strings. * utils/rpctrace.c (trace_and_forward): Cast to unsigned int. * utils/rpctrace.c (trace_and_forward): Use memcmp instead of pointer dereferencing to compare structures. * utils/rpctrace.c (wrap_all_threads): Cast to vm_address_t. * utils/rpctrace.c (main): Fix bad initializer. * utils/shd.c (run): Initialize save0. * utils/vminfo.c: Fix format strings. * utils/vmstat.c: Remove PSEP macro and expand the code. * utils/w.c (add_utmp_procs): Remove unused pos variable.
2011-10-19Add missing format strings for error, printk, problemPino Toscano
Some calls to `error', `printk', and `problem' lacked a format string, leading to build failure when compiling with stricter CFLAGS. * nfs/mount.c (mount_root): Add format string for `error' calls which lacked it. * pfinet/main.c (pfinet_bind): Likewise. * term/main.c (main): Likewise. * utils/shd.c (run): Likewise. * utils/storeinfo.c (main): Likewise. * pfinet/linux-src/include/net/tcp.h (tcp_clear_xmit_timer): Add format string for `printk' call which lacked it. (tcp_timer_is_set): Likewise. * ufs-fsck/utilities.c (punt): Add format string for `problem' call which lacked it.
2002-05-032002-05-03 Roland McGrath <roland@frob.com>Roland McGrath
* shd.c: Include <error.h> for `error' decl.
2002-03-262002-03-23 James A. Morrison <ja2morri@uwaterloo.ca>Neal H. Walfield
* rpctrace.c (parse_msgid_list): Use ERR, not errno. * shd.c (reap): Use error, not perror. (command): Likewise. (main): Likewise. (run): Use error, not perror. Use ERR, not errno.
2002-01-022002-01-02 Roland McGrath <roland@frob.com>Roland McGrath
* rpctrace.c (traced_spawn) [KERN_INVALID_LEDGER]: Pass extra arguments to task_create for OSF variant. * shd.c (run): Likewise.
1999-04-251999-04-25 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* shd.c (run): Print child's PID when pausing before exec.
1995-07-07(run): Remove assignments from inside if tests.Michael I. Bushnell
(command): Likewise.
1995-05-02(reap): Check for ECHILD, not ESRCH.Michael I. Bushnell
1995-01-28(main): Only open /dev/tty if stdin is unreadable.Roland McGrath
1994-08-30entered into RCSMichael I. Bushnell
1994-08-22Formerly sh.c.~2~Roland McGrath
1994-07-21Initial revisionMichael I. Bushnell