afs: Define afs_warnall routine
authorPerry Ruiter <pruiter@sinenomine.net>
Sat, 22 Mar 2014 07:52:32 +0000 (00:52 -0700)
committerD Brashear <shadow@your-file-system.com>
Wed, 21 May 2014 11:05:36 +0000 (07:05 -0400)
commita70f8e1a7e3fcbc13c9a60f8a7409dd01d014afb
tree0f0eefeafc7c599747732a07ce40ebc44ccb0f14
parentc3d4c109305b2db8a63b754c1894ad37326dc340
afs: Define afs_warnall routine

In a Linux environment afs_warn and afs_warnuser both go to
the same spot, resulting in duplicated messages if both are
invoked back to back.  Define a new function afs_warnall
for use when identical messages are directed to both warn
and warnuser.  In a Linux environment it will do the right
thing and present only one copy of the message.

Change-Id: I1abdc63adc74fe5b08d3872d48698ec9dcc7a40c
Reviewed-on: http://gerrit.openafs.org/10943
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: D Brashear <shadow@your-file-system.com>
src/afs/afs_prototypes.h
src/afs/afs_warn.c