From f9fe53ba89c761935aaa47068f0dd6ba27d31555 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 23 Oct 2002 21:05:42 +0000 Subject: More lobotomy: remove CHUNK_BSD_COMPAT, it was a bad idea, and now its gone. remove DOSPTYP_ONTRACK, missed in OnTrack removal commit. unifdef -DHAVE_GEOM make tst01 compile again. --- lib/libdisk/tst01.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib/libdisk/tst01.c') diff --git a/lib/libdisk/tst01.c b/lib/libdisk/tst01.c index 23b949f..7173c53 100644 --- a/lib/libdisk/tst01.c +++ b/lib/libdisk/tst01.c @@ -179,10 +179,6 @@ main(int argc, char **argv) strtol(cmds[5],0,0))); continue; } - if (!strcasecmp(*cmds,"mknod")) { - MakeDevDisk(d,"/tmp"); - continue; - } if (!strcasecmp(*cmds,"delete") && ncmd == 2) { printf("delete = %d\n", Delete_Chunk(d, @@ -234,7 +230,7 @@ main(int argc, char **argv) strtol(cmds[5],0,0), cmds[6])); #else - strtol(cmds[5],0,0))); + strtol(cmds[5],0,0), NULL)); #endif continue; } -- cgit v1.1