re-apply clang-format

This commit is contained in:
Axel Kohlmeyer
2021-09-08 15:42:15 -04:00
parent 04748779fd
commit b87a48e40b

View File

@ -33,8 +33,8 @@
#endif
#if defined(__APPLE__)
#include <fcntl.h> // for fcntl
#include <sys/syslimits.h>
#include <fcntl.h> // for fcntl
#endif
/*! \file utils.cpp */
@ -170,7 +170,7 @@ const char *utils::guesspath(char *buf, int len, FILE *fp)
#elif defined(__APPLE__)
int fd = fileno(fp);
char filepath[PATH_MAX];
if (fcntl(fd,F_GETPATH,filepath) != -1)
if (fcntl(fd, F_GETPATH, filepath) != -1)
strncpy(buf, filepath, len - 1);
else
strncpy(buf, "(unknown)", len - 1);