truss: remove write-only variable
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33861
This commit is contained in:
parent
84e2ae64c5
commit
ba33c28848
@ -1945,11 +1945,9 @@ print_arg(struct syscall_arg *sc, unsigned long *args, register_t *retval,
|
|||||||
fputs(strsig2(args[sc->offset]), fp);
|
fputs(strsig2(args[sc->offset]), fp);
|
||||||
break;
|
break;
|
||||||
case Sigset: {
|
case Sigset: {
|
||||||
long sig;
|
|
||||||
sigset_t ss;
|
sigset_t ss;
|
||||||
int i, first;
|
int i, first;
|
||||||
|
|
||||||
sig = args[sc->offset];
|
|
||||||
if (get_struct(pid, args[sc->offset], (void *)&ss,
|
if (get_struct(pid, args[sc->offset], (void *)&ss,
|
||||||
sizeof(ss)) == -1) {
|
sizeof(ss)) == -1) {
|
||||||
print_pointer(fp, args[sc->offset]);
|
print_pointer(fp, args[sc->offset]);
|
||||||
|
Loading…
Reference in New Issue
Block a user