address already set in get()
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 26 May 1990 07:13:01 +0000 (23:13 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 26 May 1990 07:13:01 +0000 (23:13 -0800)
SCCS-vsn: usr.bin/hexdump/display.c 5.8

usr/src/usr.bin/hexdump/display.c

index e267a59..c815c41 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)display.c  5.7 (Berkeley) %G%";
+static char sccsid[] = "@(#)display.c  5.8 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/param.h>
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -154,7 +154,7 @@ display()
                if (!eaddress) {
                        if (!address)
                                return;
                if (!eaddress) {
                        if (!address)
                                return;
-                       eaddress = address + blocksize; 
+                       eaddress = address;
                }
                for (pr = endfu->nextpr; pr; pr = pr->nextpr)
                        switch(pr->flags) {
                }
                for (pr = endfu->nextpr; pr; pr = pr->nextpr)
                        switch(pr->flags) {