From 94f877197cbee8bdaea5c941030cc177ed78209a Mon Sep 17 00:00:00 2001 From: jkh Date: Sun, 7 May 1995 22:07:53 +0000 Subject: 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! --- usr.sbin/sade/rtermcap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/sade/rtermcap.c') 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; } -- cgit v1.1