Fix a problem with the cd(4) driver -- the CAMGETPASSTHRU ioctl wouldn't
[dragonfly.git] / contrib / top / version.c
blob5f360fd32fe4eacd22fe346ab1e38812859d0ed0
1 /*
2 * Top users/processes display for Unix
3 * Version 3
5 * This program may be freely redistributed,
6 * but this entire comment MUST remain intact.
8 * Copyright (c) 1984, 1989, William LeFebvre, Rice University
9 * Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
12 #include "top.h"
13 #include "patchlevel.h"
15 static char version[16];
17 char *version_string()
20 sprintf(version, "%d.%d", VERSION, PATCHLEVEL);
21 #ifdef BETA
22 strcat(version, BETA);
23 #endif
24 return(version);