diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-12-12 00:00:17 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-12-12 00:00:17 +0000 |
commit | 0b0ab554af22e2e11b3f089bac0a2ed39c9b048c (patch) | |
tree | 984c09d06e53df42471ab999807b4b0487e0298b | |
parent | 705c579cdb226f203ba43dabbf40cae075780aad (diff) |
knf
-rw-r--r-- | usr.bin/modstat/modstat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/modstat/modstat.c b/usr.bin/modstat/modstat.c index 795bc50b2a4..821f2b864de 100644 --- a/usr.bin/modstat/modstat.c +++ b/usr.bin/modstat/modstat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: modstat.c,v 1.18 2002/05/24 07:03:35 ericj Exp $ */ +/* $OpenBSD: modstat.c,v 1.19 2002/12/12 00:00:16 deraadt Exp $ */ /* * Copyright (c) 1993 Terrence R. Lambert. @@ -147,7 +147,7 @@ main(argc, argv) setgid(getgid()); printf("Type Id Off %-*s Size %-*s Rev Module Name\n", - POINTERSIZE, "Loadaddr", POINTERSIZE, "Info"); + POINTERSIZE, "Loadaddr", POINTERSIZE, "Info"); if (modnum != -1 || modname != NULL) { if (dostat(devfd, modnum, modname)) @@ -156,8 +156,8 @@ main(argc, argv) } /* Start at 0 and work up until we receive EINVAL. */ - for (modnum = 0; dostat(devfd, modnum, NULL) < 2; modnum++) - ; + for (modnum = 0; dostat(devfd, modnum, NULL) < 2; modnum++) + ; exit(0); } |