diff options
Diffstat (limited to 'src/cmd/sam')
-rw-r--r-- | src/cmd/sam/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/sam/file.c b/src/cmd/sam/file.c index 07d73bb9..c8b8d657 100644 --- a/src/cmd/sam/file.c +++ b/src/cmd/sam/file.c @@ -130,7 +130,7 @@ loginsert(File *f, uint p0, Rune *s, uint ns) return; if(ns == 0) return; - if(ns<0 || ns>STRSIZE) + if(ns>STRSIZE) panic("loginsert"); if(f->seq < seq) filemark(f); |