diff options
Diffstat (limited to 'usr/src/cmd/foo/foo.c')
-rw-r--r-- | usr/src/cmd/foo/foo.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/usr/src/cmd/foo/foo.c b/usr/src/cmd/foo/foo.c deleted file mode 100644 index f85af88..0000000 --- a/usr/src/cmd/foo/foo.c +++ /dev/null @@ -1,34 +0,0 @@ -/* - * This file and its contents are supplied under the terms of the - * Common Development and Distribution License ("CDDL"), version 1.0. - * You may only use this file in accordance with the terms of version - * 1.0 of the CDDL. - * - * A full copy of the text of the CDDL should have accompanied this - * source. A copy of the CDDL is also available via the Internet at - * http://www.illumos.org/license/CDDL. - */ - -/* - * Copyright 2011 Nexenta Systems, Inc. All rights reserved. - */ - -#include <stdio.h> -#include <libfoo/foo.h> -#include <libintl.h> - -int -main(int argc, char **argv) -{ - uint32_t cnt; - int rc; - - rc = foo_getcnt(&cnt); - if (rc != 0) { - fprintf(stderr, "%s: err = %d\n", argv[0], rc); - return (1); - } - - printf(gettext("cnt = %u\n"), cnt); - return (0); -} |