misc.c (c3fd5728c2e4ff027b6fe4cd58aea643713fb994) | misc.c (44cf272f781c1703c921e2a0baacb048481e7cb9) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Edward Sze-Tyan Wang. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 37 unchanged lines hidden (view full) --- 46#include <stdlib.h> 47#include <string.h> 48#include <err.h> 49#include "extern.h" 50 51void 52ierr() 53{ | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Edward Sze-Tyan Wang. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 37 unchanged lines hidden (view full) --- 46#include <stdlib.h> 47#include <string.h> 48#include <err.h> 49#include "extern.h" 50 51void 52ierr() 53{ |
54 err(0, "%s", fname); | 54 warn("%s", fname); 55 rval = 1; |
55} 56 57void 58oerr() 59{ 60 err(1, "stdout"); 61} | 56} 57 58void 59oerr() 60{ 61 err(1, "stdout"); 62} |