diff options
author | phk <phk@FreeBSD.org> | 2002-10-23 21:05:42 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-23 21:05:42 +0000 |
commit | f9fe53ba89c761935aaa47068f0dd6ba27d31555 (patch) | |
tree | f5e3d50102cf9a33b05b9f1b31e32b290c78d2b9 /lib/libdisk/tst01.c | |
parent | 8e1649e9dfabc47894c0ffdd53bd6f3d64cf9987 (diff) | |
download | FreeBSD-src-f9fe53ba89c761935aaa47068f0dd6ba27d31555.zip FreeBSD-src-f9fe53ba89c761935aaa47068f0dd6ba27d31555.tar.gz |
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.
Diffstat (limited to 'lib/libdisk/tst01.c')
-rw-r--r-- | lib/libdisk/tst01.c | 6 |
1 files changed, 1 insertions, 5 deletions
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; } |