mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 23:40:13 +00:00
salvager: fix formatting in the rest of the Log messages
right now some not-commonly-defined code fails to compile with warnings. fix it so it uses a format string like everything else. Change-Id: Ib35445db9800444f3ee74a43f17aeb6f2959645a Reviewed-on: http://gerrit.openafs.org/8236 Reviewed-by: Derrick Brashear <shadow@your-file-system.com> Tested-by: BuildBot <buildbot@rampaginggeek.com>
This commit is contained in:
parent
170dbb3ce3
commit
611e80ee12
@ -153,7 +153,7 @@ handleit(struct cmd_syndesc *as, void *arock)
|
||||
|
||||
#ifndef AFS_NT40_ENV
|
||||
if (useSyslog)
|
||||
Log(msg);
|
||||
Log("%s", msg);
|
||||
else
|
||||
#endif
|
||||
printf("%s\n", msg);
|
||||
@ -270,7 +270,7 @@ handleit(struct cmd_syndesc *as, void *arock)
|
||||
|
||||
#ifndef AFS_NT40_ENV
|
||||
if (useSyslog)
|
||||
Log(msg);
|
||||
Log("%s", msg);
|
||||
else
|
||||
#endif
|
||||
printf("%s\n", msg);
|
||||
|
Loading…
Reference in New Issue
Block a user