diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-07 22:07:53 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-07 22:07:53 +0000 |
commit | 94f877197cbee8bdaea5c941030cc177ed78209a (patch) | |
tree | 7cb01793c4eb801395333aabb225a9780056544c /usr.sbin/sade/rtermcap.c | |
parent | b603376486af3684e8f27584d62f50d7aa85c94f (diff) | |
download | FreeBSD-src-94f877197cbee8bdaea5c941030cc177ed78209a.zip FreeBSD-src-94f877197cbee8bdaea5c941030cc177ed78209a.tar.gz |
Implement a work-around for Create_Chunk providing no pointer to the
new chunk. The partition editor now works as well as the underlying
libdisk can support it - have at it, Poul!
Diffstat (limited to 'usr.sbin/sade/rtermcap.c')
-rw-r--r-- | usr.sbin/sade/rtermcap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/sade/rtermcap.c b/usr.sbin/sade/rtermcap.c index 3f18e8b..84b3feb 100644 --- a/usr.sbin/sade/rtermcap.c +++ b/usr.sbin/sade/rtermcap.c @@ -7,8 +7,9 @@ main(int argc, char **argv) char buf[4096]; int i; + if (argc < 2) + return 1; i = tgetent(buf, argv[1]); - printf("%s",buf); return 0; } |