=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/getcap/getcap.c,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** src/usr.bin/getcap/getcap.c 2005/02/19 22:15:41 1.1 --- src/usr.bin/getcap/getcap.c 2006/01/28 22:35:54 1.2 *************** *** 1,4 **** ! /* $OpenBSD: getcap.c,v 1.1 2005/02/19 22:15:41 millert Exp $ */ /* * Copyright (c) 2005 Todd C. Miller --- 1,4 ---- ! /* $OpenBSD: getcap.c,v 1.2 2006/01/28 22:35:54 millert Exp $ */ /* * Copyright (c) 2005 Todd C. Miller *************** *** 17,23 **** */ #ifndef lint ! static const char rcsid[] = "$OpenBSD: getcap.c,v 1.1 2005/02/19 22:15:41 millert Exp $"; #endif /* not lint */ #include --- 17,23 ---- */ #ifndef lint ! static const char rcsid[] = "$OpenBSD: getcap.c,v 1.2 2006/01/28 22:35:54 millert Exp $"; #endif /* not lint */ #include *************** *** 149,156 **** return; else if (n == -2) err(1, NULL); /* ENOMEM */ - if (cgetstr(buf, cap, &cp) < 0) - return; printf("%.*s%s%s\n", prefixlen, buf, useprefix ? ": " : "", cp); break; --- 149,154 ----